Package uk.ac.starlink.ttools.example
Class SinePlot
java.lang.Object
uk.ac.starlink.ttools.example.SinePlot
Example programmatic use of stilts plot2 classes.
This program plots a number of points near a sinusoidal curve.
Optionally, the data can change and be replotted at time intervals.
Either way, the plot is "live"; you can pan and zoom round it using
the mouse.
Two alternative ways of setting up the plot are provided by way of example, but they have the same effect.
To use this class invoke the main() method from the command line. Use the -h flag for options.
- Since:
- 12 Jun 2014
- Author:
- Mark Taylor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Abstracts the way that the table is turned into a 2d plot component. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SinePlot
Constructor.- Parameters:
planePlotter
- object that does the plotcount
- number of points to plot- Throws:
Exception
-
-
Method Details