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.