
This demo illustrates the use of the Plot2D widget by drawing random data.
The Plot2D widget extends ZoomPane
and inherits its zoom capabilities.
| Widget javadoc: | Plot2D |
|---|---|
| How to use: | Use the keyboard (Page Up or Page Down) or the mouse wheel for zooming. Use the scrollbars or the keyboard for translating. Right click and select the "Show magnifier" option for testing the magnifier. |
| How to make your own: | Create an instance of Plot2D. Define the axis labels with the
add[X|Y]Axis(String) methods. Finally invoke
the addSeries(label, color, x,
y) method or one of its variants. |
| Prerequites: |
|