| CPAN Ratings (Gamma) Chart-Gnuplot reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of Chart-Gnuplot
0 out of 1 found this review helpful:
A very useful module for dealing with Gnuplot.
I still prefer gnuplot over Chart::Clicker and SVG::TT::Graph::TimeSeries for graphing time series data. I've used gnuplot directly in the past and didn't have much trouble adapting to this module's interface.
My one issue was that it isn't possible to use the interactive x11 terminal (it displays the image for a fraction of a second and then it immediately disappears). I was able to get it working by including the code below in my script.
In case the code doesn't format well, see: https://gist.github.com/e90670b47aca7ad315c9
# interactive gnuplot terminal
use Hook::LexWrap;
wrap 'Chart::Gnuplot::_execute',
pre => sub { my ( $self ) = @_;
# if this isn't an x11 terminal, there's nothing to do
return unless $self->{terminal} eq "x11";
# add 'pause' command to script to keep image from immediately disappearing
open(GPH, ">>$self->{_script}") || confess("Can't write $self->{_script}");
print GPH "\npause mouse button1\n";
close(GPH);
# output is not a file, delete the 'output' param or we'll get an error in _execute
delete $self->{output};
};
Alex White - 2010-01-24 20:53:17
Was this review helpful to you?
Yes
No
Looks okay, but if you already know the gnuplot language, then it's probably easier to generate a script and run it. If you don't, then you will probably have a hard time using this module. Plus, it's easy to learn.
Pista Palo - 2009-03-12 09:39:13
Was this review helpful to you?
Yes
No
Works right off the box... Would love to see continued development and other gnuplot features supported in the future...
Nachiket - 2008-09-16 07:51:58
Was this review helpful to you?
Yes
No
I needed to generate gnuplots per Manager This Is Very Important assignment. This package was painless to use and well documented with examples.
Nice work!
karman - 2008-08-19 11:52:08
Was this review helpful to you?
Yes
No
|
|
|