Note that you can zoom in on any region of the graph by drawing a box. Start at the upper left corner of the region you wish to view in more detail, and drag downwards and to the right. Dragging upwards instead allows you to zoom out. When zooming out, a reference box is drawn that will represent the current view, and dragging will cause a box to be displayed that represents the new view. Zooming out will only go as far as the original scale. Clicking on the "fill" button at the upper right brings all data within range. These capabilities are available in all classes in the package.
The
source code defines a class PlotFourierSeries
derived from PlotApplet
. This class contains a sequence
of Java statements in its init()
method that configures
and constructs the plot. This particular example also demonstrates a
number of features. In particular, no marks are made at all for each
plotted point, so the plot consists entirely of connected lines. The X
and Y ranges and tick marks are not given, so they get computed
automatically to just fit the data.