The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Gnuplot - Gnuplot

SYNOPSIS

 use App::PerlShell::Plugin::Gnuplot;

DESCRIPTION

This module implements Gnuplot integration with Chart::Gnuplot.

COMMANDS

Gnuplot - provide help

Provides help from the shell.

gnuplot - get or set gnuplot program

 [$gnuplot =] gnuplot 'path_and_gnuplot_program'

Get or set gnuplot program location. No argument displays gnuplot program location. Single argument sets gnuplot program location. Optional return value is gnuplot program location.

gnuterm - get or set gnuplot terminal

 [$gnuterm =] gnuterm 'gnuplot_term_type'

Get or set gnuplot terminal type. No argument displays gnuplot terminal type. Single argument sets gnuplot terminal type. Optional return value is gnuplot terminal type.

gnuscript - return Gnuplot script

 [$script =] gnuscript $chart

Return the gnuplot script created for $chart. See chart below.

METHODS

chart - create chart object

 [$chart =] chart [OPTIONS];

Create Chart::Gnuplot object. See Chart::Gnuplot for OPTIONS. Return Chart::Gnuplot object.

Single option indicates title.

dataset - create dataset object

 [$dataset =] dataset [OPTIONS];

Create Chart::Gnuplot::DataSet object. See Chart::Gnuplot for OPTIONS. Return Chart::Gnuplot::DataSet object.

Single option indicates ydata.

EXAMPLES

 chart->plot2d(dataset([0,1,2,3,4,5]));

SEE ALSO

Chart::Gnuplot

LICENSE

This software is released under the same terms as Perl itself. If you don't know what that means visit http://perl.com/.

AUTHOR

Copyright (c) 2013, 2016 Michael Vincent

http://www.VinsWorld.com

All rights reserved