📄 swarm.analysis.ezgraph.protocol.html
字号:
> <BCLASS="FUNCPROTOTYPE">Max:</B> (double)<VARCLASS="PDPARAM">ymax</VAR> <BR> Fix the range of Y values on the graph between some range.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M851"></A><P></P>- <BCLASS="FUNCPROTOTYPE">setScaleModeX:</B> (BOOL)<VARCLASS="PDPARAM">xs</VAR> <BCLASS="FUNCPROTOTYPE">Y:</B> (BOOL)<VARCLASS="PDPARAM">ys</VAR> <BR> Whether to autoscale every timestep or instead to jump scale.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M390"></A><P></P>- (id <Graph>)<BCLASS="FUNCPROTOTYPE">getGraph</B><BR> 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.)<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M239"></A><P></P>- (id <EZSequence>)<BCLASS="FUNCPROTOTYPE">createSequence:</B> (const char *)<VARCLASS="PDPARAM">aName</VAR> <BCLASS="FUNCPROTOTYPE">withFeedFrom:</B> <VARCLASS="PDPARAM">anObj</VAR> <BCLASS="FUNCPROTOTYPE">andSelector:</B> (SEL)<VARCLASS="PDPARAM">aSel</VAR> <BR> 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.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M222"></A><P></P>- (id <EZAverageSequence>)<BCLASS="FUNCPROTOTYPE">createAverageSequence:</B> (const char *)<VARCLASS="PDPARAM">aName</VAR> <BCLASS="FUNCPROTOTYPE">withFeedFrom:</B> <VARCLASS="PDPARAM">aCollection</VAR> <BCLASS="FUNCPROTOTYPE">andSelector:</B> (SEL)<VARCLASS="PDPARAM">aSel</VAR> <BR> The createAverageSequence method takes a collection of objects and generates a sequence based on the average over the responses of the entire object set (as opposed to a single object as in createSequence) The method returns an id which can be used later with -dropSequence.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M241"></A><P></P>- (id <EZAverageSequence>)<BCLASS="FUNCPROTOTYPE">createTotalSequence:</B> (const char *)<VARCLASS="PDPARAM">aName</VAR> <BCLASS="FUNCPROTOTYPE">withFeedFrom:</B> <VARCLASS="PDPARAM">aCollection</VAR> <BCLASS="FUNCPROTOTYPE">andSelector:</B> (SEL)<VARCLASS="PDPARAM">aSel</VAR> <BR> The createTotalSequence method takes a collection of objects and generates a sequence based on the sum over the responses of the entire object set (as opposed to a single object as in createSequence) The method returns an id which can be used later with -dropSequence.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M235"></A><P></P>- (id <EZAverageSequence>)<BCLASS="FUNCPROTOTYPE">createMinSequence:</B> (const char *)<VARCLASS="PDPARAM">aName</VAR> <BCLASS="FUNCPROTOTYPE">withFeedFrom:</B> <VARCLASS="PDPARAM">aCollection</VAR> <BCLASS="FUNCPROTOTYPE">andSelector:</B> (SEL)<VARCLASS="PDPARAM">aSel</VAR> <BR> The createMinSequence method takes a collection of objects and generates a sequence based on the minimum over the responses of the entire object set (as opposed to a single object as in createSequence) The method returns an id which can be used later with -dropSequence.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M234"></A><P></P>- (id <EZAverageSequence>)<BCLASS="FUNCPROTOTYPE">createMaxSequence:</B> (const char *)<VARCLASS="PDPARAM">aName</VAR> <BCLASS="FUNCPROTOTYPE">withFeedFrom:</B> <VARCLASS="PDPARAM">aCollection</VAR> <BCLASS="FUNCPROTOTYPE">andSelector:</B> (SEL)<VARCLASS="PDPARAM">aSel</VAR> <BR> The createMaxSequence method takes a collection of objects and generates a sequence based on the maximums over the responses of the entire object set (as opposed to a single object as in createSequence) The method returns an id which can be used later with -dropSequence.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M225"></A><P></P>- (id <EZAverageSequence>)<BCLASS="FUNCPROTOTYPE">createCountSequence:</B> (const char *)<VARCLASS="PDPARAM">aName</VAR> <BCLASS="FUNCPROTOTYPE">withFeedFrom:</B> <VARCLASS="PDPARAM">aCollection</VAR> <BCLASS="FUNCPROTOTYPE">andSelector:</B> (SEL)<VARCLASS="PDPARAM">aSel</VAR> <BR> The createCountSequence method takes a collection of objects and generates a sequence based on the count over the responses of the entire object set (as opposed to a single object as in createSequence) The method returns an id which can be used later with -dropSequence.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M269"></A><P></P>- <BCLASS="FUNCPROTOTYPE">dropSequence:</B> <VARCLASS="PDPARAM">aSeq</VAR> <BR> The dropSequence method drops a data sequence (line on the graph), e.g. because the source object no longer exists. The aSeq parameter should be an id previously returned by one of the createSequence: methods. If the drop is successful, the method returns aSeq, otherwise it returns nil.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M506"></A><P></P>- (const char *)<BCLASS="FUNCPROTOTYPE">getTitle</B><BR> Return the title string.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M381"></A><P></P>- (const char *)<BCLASS="FUNCPROTOTYPE">getFileName</B><BR> Return the file name prefix string.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M935"></A><P></P>- <BCLASS="FUNCPROTOTYPE">update</B><BR> the -update method causes the underlying sequences to get the next set of data values. If a sequence has a single object attached rather than an Averager, nothing is done.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M590"></A><P></P>- <BCLASS="FUNCPROTOTYPE">outputGraph</B><BR> the outputGraph method updates the graph with the data obtained from the last call to -update. If setGraphics==0, nothing is done.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M591"></A><P></P>- <BCLASS="FUNCPROTOTYPE">outputToFile</B><BR> the outputToFile method sends to the disk file data obtained from the last call to -update. If setFileOutput==0, nothing is done.<P></P></DIV></LI><LI><DIVCLASS="FUNCSYNOPSIS"><ANAME="SWARM.ANALYSIS.EZGRAPH.METHOD.PU.M919"></A><P></P>- <BCLASS="FUNCPROTOTYPE">step</B><BR> The step method combines -update, -outputGraph and -outputToFile. If you want file output to occur at a different frequency than graph updates, schedule those methods separately instead of using -step.<P></P></DIV></LI></UL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="swarm.analysis.ezdistribution.protocol.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="set.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="swarm.analysis.ezsequence.protocol.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">EZDistribution</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="swarm.analysis.sgml.reference.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">EZSequence</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -