This actor is a plotter that also produces as its output a
signal that has been sketched by the user on the screen.
The <i>length</i> parameter specifies the
number of samples in the sketched signal. The <i>periodic</i>
parameter, if true, specifies that the signal should be repeated.
If this parameter is false, then the sketched signal is produced
exactly once, at the beginning of the execution of the model. If
<i>periodic</i> is true and the sketch is modified during
execution of the model, then the modification appears in the next
cycle after the modification has been completed. In
other words, the change does not appear mid-cycle.
<p>
This actor is also a plotter, and will plot the input signals
on the same plot as the sketched signal. It can be used in a
feedback loop where the output affects the input. The first batch
of outputs is produced in the initialize() method, so it can
be put in a feedback loop in a dataflow model.
Edward A. Lee
$Id: SketchedSource.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 1.0
Yellow (eal)
Red (vogel)
The output port. The type of this port is double.
The default signal to generate, prior to any user sketch.
By default, this contains an array of zeros with the length
given by the <i>length</i> parameter.
The length of the output signal that will be generated.
This parameter must contain an IntToken. By default, it has
value 100.
An indicator of whether the signal should be periodically
repeated. This parameter must contain a boolean token.
By default, it has value true.
If <i>true</i>, then when the user edits the plot, if the
manager is currently idle, then run the model.
This is a boolean that defaults to <i>false</i>.
The bottom of the Y range. This is a double, with default value -1.0.
The top of the Y range. This is a double, with default value 1.0.