
XYScope |
ptolemy.actor.lib.gui.XYScope |
An X-Y plotter that plots with finite persistence.
This plotter contains an instance of the Plot class
from the Ptolemy plot package as a public member.
Data at inputX and inputY are plotted on this instance.
Both inputX and inputY are multiports that
take a DoubleToken.
When plotted, the first channel of inputX and the first channel
of inputY are together considered the first signal,
then the second channel of inputX and the second channel
of inputY are considered the second signal, and so on.
This requires that inputX and
inputY have the same width.
This actor
assumes that there is at least one token available on each channel
when it fires. The horizontal axis is given by the value of the
input from inputX and vertical axis is given by inputY.
If the persistence parameter is positive, then it specifies
the number of points that are shown.
It defaults to 100, so any point older than 100 samples is
erased and forgotten.
Author(s): Edward A. Lee
Version:$Id: XYScope.java,v 1.25 2005/07/08 19:56:20 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Yellow (neuendor)
persistence
The number of samples from each input channel
displayed at any one time (an integer).