The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Basis::ConvertText2::Plugin::Gnuplot

SYNOPSIS

    my $content = "#
    # $Id: surface1.dem,v 1.11 2004/09/17 05:01:12 sfeam Exp $
    #
    set samples 21
    set isosample 11
    set xlabel "X axis" offset -3,-2
    set ylabel "Y axis" offset 3,-2
    set zlabel "Z axis" offset -5
    set title "3D gnuplot demo"
    set label 1 "This is the surface boundary" at -10,-5,150 center
    set arrow 1 from -10,-5,120 to -10,0,0 nohead
    set arrow 2 from -10,-5,120 to 10,0,0 nohead
    set arrow 3 from -10,-5,120 to 0,10,0 nohead
    set arrow 4 from -10,-5,120 to 0,-10,0 nohead
    set xrange [-10:10]
    set yrange [-10:10]
    splot x*y
    " ;
    my $params = {} ;
    my $obj = App::Basis::ConvertText2::Plugin::Gnuplot->new() ;
    my $out = $obj->process( 'gnuplot', $content, $params) ;

DESCRIPTION

convert a gnuplot text string into a PNG, requires gnuplot program http://gnuplot.sourceforge.net/

gnuplot

create a simple gnuplot image

 parameters
    data   - gnuplot text      
    filename - filename to save the created image as 

 hashref params of
        title   - title to use for image alt attribute
        size    - size of image, widthxheight - optional, default 720x512

1 POD Error

The following errors were encountered while parsing the POD:

Around line 61:

'=item' outside of any '=over'

=over without closing =back