Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: 2d contour plot using Chart::Gnuplot

by Lotus1 (Vicar)
on Mar 04, 2016 at 19:48 UTC ( [id://1156846]=note: print w/replies, xml ) Need Help??


in reply to Re^3: 2d contour plot using Chart::Gnuplot
in thread 2d contour plot using Chart::Gnuplot

I tried this on Windows 7 and I get an Invalid Parameter - 90. At first it seemed to be related to how the module calls gnuplot according to this thread. Then I found this article that explains the true problem is that Chart::Gnuplot is attempting to call ImageMagick's convert executable. On Windows convert is a utility that converts a volume from FAT32 to NTFS. To get Chart::Gnuplot working you need to install ImageMagick and Ghostscript. I haven't tried it yet but it looks promising.

Replies are listed 'Best First'.
Re^5: 2d contour plot using Chart::Gnuplot
by poj (Abbot) on Mar 04, 2016 at 19:54 UTC

    Try adding this line

    my $chart = Chart::Gnuplot->new( terminal => 'png',
    poj

      ++poj! That did the trick. By default it outputs to postscript hence the need to convert to jpg or png.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1156846]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-28 17:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found