Lab::Data::Plotter - Plot data with Gnuplot


Lab-Tools documentation  | view source Contained in the Lab-Tools distribution.

Index


NAME

Top

Lab::Data::Plotter - Plot data with Gnuplot

SYNOPSIS

Top

  use Lab::Data::Plotter;

  my $plotter=new Lab::Data::Plotter($metafile);

  my %plots=$plotter->available_plots();
  my @names=keys %plots;

  $plotter->plot($names[0]);

DESCRIPTION

Top

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.

The module also offers the possibility to plot data live, while it is being aquired.

CONSTRUCTOR

Top

new

  $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.

Available options are

dump
eps
fulllabels
last_live

METHODS

Top

available_plots

  my %plots=$plotter->available_plots();

plot

  $plotter->plot($plot);

start_live_plot

  $plotter->start_live_plot($plot);

update_live_plot

  $plotter->update_live_plot();

stop_live_plot

  $plotter->stop_live_plot();

AUTHOR/COPYRIGHT

Top


Lab-Tools documentation  | view source Contained in the Lab-Tools distribution.