Daniel Schröer > Lab-Tools-1.4 > Lab::Data::Plotter

Download:
Lab/Lab-Tools-1.4.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.0516   Source   Latest Release: Lab-Tools-1.41

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
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 ^

This is $Id: Plotter.pm 516 2006-09-28 14:59:28Z schroeer $

Copyright 2004-2006 Daniel Schröer (http://www.danielschroeer.de)

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: