Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    PDL::Graphics::Gnuplot 0.02

    Download button

    No screenshots available
    Downloads: 163  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dima Kogan | More programs
    Perl Artistic License / FREE
    August 7th, 2011, 03:07 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    PDL::Graphics::Gnuplot description

    Gnuplot-based plotter for PDL

    PDL::Graphics::Gnuplot is a Perl module that allows PDL data to be plotted using Gnuplot as a backend. As much as was possible, this module acts as a passive pass-through to Gnuplot, thus making available the full power and flexibility of the Gnuplot backend. Gnuplot is described in great detail at its upstream website: http://www.gnuplot.info.

    The main subroutine that PDL::Graphics::Gnuplot exports is plot(). A call to plot() looks like

     plot(plot_options,
     curve_options, data, data, ... ,
     curve_options, data, data, ... );

    SYNOPSIS

     use PDL::Graphics::Gnuplot qw(plot plot3d);

     my $x = sequence(101) - 50;
     plot($x**2);

     plot( title => 'Parabola with error bars',
     with => 'xyerrorbars', tuplesize => 4, legend => 'Parabola',
     $x**2 * 10, abs($x)/10, abs($x)*5 );

     my $xy = zeros(21,21)->ndcoords - pdl(10,10);
     my $z = inner($xy, $xy);
     plot(title => 'Heat map', '3d' => 1,
     extracmds => 'set view 0,0',
     with => 'image', tuplesize => 3, $z*2);

     my $pi = 3.14159;
     my $theta = zeros(200)->xlinvals(0, 6*$pi);
     my $z = zeros(200)->xlinvals(0, 5);
     plot3d(cos($theta), sin($theta), $z);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Gnuplot-based plotter | PDL plotter | Perl module | PDL | Gnuplot | plotter

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM