Lab::Data::Plotter - Plot data with Gnuplot
use Lab::Data::Plotter; my $plotter=new Lab::Data::Plotter($metafile); my %plots=$plotter->available_plots(); my @names=keys %plots; $plotter->plot($names[0]);
This module can plot data with GnuPlot. It plots data from .DATA files and takes into account the data information in the corresponding .META file.
.DATA
.META
The module also offers the possibility to plot data live, while it is being aquired.
$plotter=new Lab::Data::Plotter($meta,\%options);
Creates a Plotter object. $meta is either an object of type Lab::Data::Meta or a filename that points to a .META file.
$meta
Available options are
my %plots=$plotter->available_plots();
$plotter->plot($plot);
$plotter->start_live_plot($plot);
$plotter->update_live_plot();
$plotter->stop_live_plot();
Copyright 2004-2006 Daniel Schröer (L<http://www.danielschroeer.de>) 2011 Andreas K. Hüttel
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.