LinePlotDataset

LinePlotDataset is an Object into which to store data to be plotted by the LineGraph widget.
Download

LinePlotDataset Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tom Clifford
  • Publisher web site:
  • http://search.cpan.org/~clifford/Tk-LineGraphDataset-0.01/LineGraphDataset.pm

LinePlotDataset Tags


LinePlotDataset Description

LinePlotDataset is an Object into which to store data to be plotted by the LineGraph widget. LinePlotDataset is an Object into which to store data to be plotted by the LineGraph widget.LinePlotDataset is an object into which data and meta data can be stored. This object can be plotted by the LineGraph widget.CONSTRUCTORnew(-yArray => Y data array -name => dataset name, -yAxis => "Y|Y1", -color => line Color, -xArray => X data array);The Y array data and the dataset name are required. Other parameters are optional. The yAxis defaults to the Y (left hand) axis. The color for the graph of the dataset defaults to one the plot default colors. The X array data defaults to the integers (0 .. size of yArray).The Dataset objects copies the data arrays.EXAMPLE use Tk; use Tk::LineGraph; use Tk::LineGraphDataset; my $mw = MainWindow->new; my $cp = $mw->LineGraph(-width=>500, -height=>500, -background => snow)->grid; my @yArray = (1..5,11..18,22..23,99..300,333..555,0,0,0,0,600,600,600,600,599,599,599); my $ds = LineGraphDataset->new(-yData=>@yArray,-name=>"setOne"); $cp->linePlot(-dataset=>$ds); MainLoop;METHODSget(option); Returns the current value of the option. Options are listed in the constructor.set(option , value); Sets the option to value. Options are listed in the constructor. Requirements: · Perl


LinePlotDataset Related Software