⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ezgraph.html

📁 文件来自swarm.org
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the title string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#outputGraph()">outputGraph</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the outputGraph method updates the graph with the data obtained from the last call to -update.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#outputToFile()">outputToFile</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the outputToFile method sends to the disk file data obtained from the last call to -update.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#setRangesXMin$Max(double, double)">setRangesXMin$Max</A></B>(double&nbsp;xmin,                  double&nbsp;xmax)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fix the range of X values on the graph between some range.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#setRangesYMin$Max(double, double)">setRangesYMin$Max</A></B>(double&nbsp;ymin,                  double&nbsp;ymax)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fix the range of Y values on the graph between some range.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#setScaleModeX$Y(boolean, boolean)">setScaleModeX$Y</A></B>(boolean&nbsp;xs,                boolean&nbsp;ys)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Whether to autoscale every timestep or instead to jump scale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#step()">step</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The step method combines -update, -outputGraph and -outputToFile.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../swarm/analysis/EZGraph.html#update()">update</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the -update method causes the underlying sequences to get the next set of data values.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.objectbase.SwarmObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.objectbase.<A HREF="../../swarm/objectbase/SwarmObject.html">SwarmObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/objectbase/SwarmObject.html#getCompleteProbeMap()">getCompleteProbeMap</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeForMessage(java.lang.String)">getProbeForMessage</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeForVariable(java.lang.String)">getProbeForVariable</A>, <A HREF="../../swarm/objectbase/SwarmObject.html#getProbeMap()">getProbeMap</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.simtoolsgui.GUIComposite"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.simtoolsgui.<A HREF="../../swarm/simtoolsgui/GUIComposite.html">GUIComposite</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/simtoolsgui/GUIComposite.html#disableDestroyNotification()">disableDestroyNotification</A>, <A HREF="../../swarm/simtoolsgui/GUIComposite.html#enableDestroyNotification$notificationMethod(java.lang.Object, swarm.Selector)">enableDestroyNotification$notificationMethod</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.Drop"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/Drop.html">Drop</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/Drop.html#drop()">drop</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.DefinedObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/DefinedObject.html">DefinedObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/DefinedObject.html#compare(java.lang.Object)">compare</A>, <A HREF="../../swarm/defobj/DefinedObject.html#describe(java.lang.Object)">describe</A>, <A HREF="../../swarm/defobj/DefinedObject.html#describeID(java.lang.Object)">describeID</A>, <A HREF="../../swarm/defobj/DefinedObject.html#getDisplayName()">getDisplayName</A>, <A HREF="../../swarm/defobj/DefinedObject.html#getTypeName()">getTypeName</A>, <A HREF="../../swarm/defobj/DefinedObject.html#getZone()">getZone</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform(swarm.Selector)">perform</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform$with(swarm.Selector, java.lang.Object)">perform$with</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform$with$with(swarm.Selector, java.lang.Object, java.lang.Object)">perform$with$with</A>, <A HREF="../../swarm/defobj/DefinedObject.html#perform$with$with$with(swarm.Selector, java.lang.Object, java.lang.Object, java.lang.Object)">perform$with$with$with</A>, <A HREF="../../swarm/defobj/DefinedObject.html#respondsTo(swarm.Selector)">respondsTo</A>, <A HREF="../../swarm/defobj/DefinedObject.html#setDisplayName(java.lang.String)">setDisplayName</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xfprint()">xfprint</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xfprintid()">xfprintid</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xprint()">xprint</A>, <A HREF="../../swarm/defobj/DefinedObject.html#xprintid()">xprintid</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_swarm.defobj.GetName"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface swarm.defobj.<A HREF="../../swarm/defobj/GetName.html">GetName</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../swarm/defobj/GetName.html#getName()">getName</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setRangesXMin$Max(double, double)"><!-- --></A><H3>setRangesXMin$Max</H3><PRE>public void <B>setRangesXMin$Max</B>(double&nbsp;xmin,                              double&nbsp;xmax)</PRE><DL><DD>Fix the range of X values on the graph between some range.<DD><DL></DL></DD></DL><HR><A NAME="setRangesYMin$Max(double, double)"><!-- --></A><H3>setRangesYMin$Max</H3><PRE>public void <B>setRangesYMin$Max</B>(double&nbsp;ymin,                              double&nbsp;ymax)</PRE><DL><DD>Fix the range of Y values on the graph between some range.<DD><DL></DL></DD></DL><HR><A NAME="setScaleModeX$Y(boolean, boolean)"><!-- --></A><H3>setScaleModeX$Y</H3><PRE>public void <B>setScaleModeX$Y</B>(boolean&nbsp;xs,                            boolean&nbsp;ys)</PRE><DL><DD>Whether to autoscale every timestep or instead to jump scale.<DD><DL></DL></DD></DL><HR><A NAME="getGraph()"><!-- --></A><H3>getGraph</H3><PRE>public <A HREF="../../swarm/gui/Graph.html">Graph</A> <B>getGraph</B>()</PRE><DL><DD>The getGraph method lets the user access the graph generated internally by the EZGraph. (Only relevant if the state of setGraphics is set to 1.)<DD><DL></DL></DD></DL><HR><A NAME="createSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)"><!-- --></A><H3>createSequence$withFeedFrom$andSelector</H3><PRE>public <A HREF="../../swarm/analysis/EZSequence.html">EZSequence</A> <B>createSequence$withFeedFrom$andSelector</B>(java.lang.String&nbsp;aName,                                                          java.lang.Object&nbsp;anObj,                                                          <A HREF="../../swarm/Selector.html">Selector</A>&nbsp;aSel)</PRE><DL><DD>The createSequence method creates a sequence in the EZGraph based on the return value provided by the object anObj when sent the selector aSel.  If file I/O is enabled, then the data will be sent to a file with the name aName, otherwise the aName argument is simply used as the legend for the graph element generated by EZGraph. The method returns an id which can be used later with -dropSequence.<DD><DL></DL></DD></DL><HR><A NAME="createAverageSequence$withFeedFrom$andSelector(java.lang.String, java.lang.Object, swarm.Selector)"><!-- --></A><H3>createAverageSequence$withFeedFrom$andSelector</H3><PRE>public <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A> <B>createAverageSequence$withFeedFrom$andSelector</B>(java.lang.String&nbsp;aName,                                                                        java.lang.Object&nbsp;aCollection,                                                                        <A HREF="../../swarm/Selector.html">Selector</A>&nbsp;aSel)</PRE><DL><DD>The createAverageSequence method takes a collection of objects and  generates a sequence based on the average over the responses of the entire object set. The method returns an id which can be used later with -dropSequence.<DD><DL></DL></DD></DL><HR><A NAME="createMovingAverageSequence$withFeedFrom$andSelector$andWidth(java.lang.String, java.lang.Object, swarm.Selector, int)"><!-- --></A><H3>createMovingAverageSequence$withFeedFrom$andSelector$andWidth</H3><PRE>public <A HREF="../../swarm/analysis/EZAverageSequence.html">EZAverageSequence</A> <B>createMovingAverageSequence$withFeedFrom$andSelector$andWidth</B>(java.lang.String&nbsp;aName,                                                                                       java.lang.Object&nbsp;aTarget,                                                                                       <A HREF="../../swarm/Selector.html">Selector</A>&nbsp;aSel,                                                                                       int&nbsp;width)</PRE><DL><DD>The createMovingAverageSequence method takes a single object, or collection of objects and generates a sequence based on the average over the responses of the entire object set for a given width chunk of samples. The method returns an id which can be used later with -dropSequence.<DD><DL></DL></DD></DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -