XYPlot
XYPlot();
None
XYPlot Object

METHOD DESCRIPTION
void setData( Point2D.Float[] pointData ) ets the data to be plotted. Expects an array of x,y point data.
void setTitle( String title ) Sets the plot title.
String getTitle() Returns the plot title.
void setXLabel( String text ) Sets the x-axis label.
void setYLabel( String text ) Sets the y-axis label.
JFrame showFrame() Creates a javax.swing.JFrame and packs the x-y plot panel into it. The frame is automatically displayed and returned to the user for further use (if desired).

Returns what is ultimately a javax.swing.JPanel that displays an x-y plot for the specified set of data. This panel should be placed within a frame/window; which can be done by calling the showFrame() method.

Example #1:
	import java.awt.geom.Point2D;

	data = new Point2D.Float[ 11 ];

	for ( i=0; i


Example #2:
	... Assumes an XYPlot panel was previously created,
          as in example #1 ...
	frame = plot.showFrame();

	... The existing frame can have its plot data changed ...
	plot.setData( newData );

	... And if the frame is closed, it can be re-shown ...
	frame.setVisible( true );