++ed by:
AMBA

1 PAUSE user
1 non-PAUSE user.

Andreas K. Hüttel
and 4 contributors

NAME

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

SYNOPSIS

  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

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

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
jpg
fulllabels
last_live

METHODS

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

  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.