TimedScope
ptolemy.actor.lib.gui.TimedScope

A signal plotter that plots in an oscilloscope style, meaning that the horizontal axis is wrapped and that there is finite persistence. This plotter contains an instance of the Plot class from the Ptolemy plot package as a public member. Data at the input, which can consist of any number of channels, are plotted on this instance. Each channel is plotted as a separate data set. The input is of type DoubleToken.

The horizontal axis represents time. The width parameter is a double that gives the width of the plot. The horizontal axis will be labeled from 0.0 to width. It defaults to 10.0.

If the persistence parameter is positive, then it specifies the amount of time into the past that points are shown. It also defaults to 10.0, so any point older than 10.0 time units is erased and forgotten.

Author(s): Edward A. Lee
Version:$Id: TimedScope.java,v 1.27 2005/07/08 19:56:20 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Yellow (neuendor)




width
The width of the X axis (a double).

persistence
The amount of data displayed at any one time (a double). This has units of the X axis.