Histogram
Histogram();
None
Histogram Object

METHOD DESCRIPTION
void setData( Point2D.Float[] pointData ) Set the data to be plotted. Expects an array of point data, where y represents the the number of x values.
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 histrogram 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 a histogram 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 a histogram panel was previously created,
          as in example #1 ...
	frame = hist.showFrame();

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

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