On Tue, Oct 29, 2013 at 6:30 PM, Yuki Kimoto <[email protected]> wrote:
> I installed PDL::Graphics::PLplot by the following doc. > > > http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_on_Windows > > I tried the following code. > > ----------------------------- > use PDL; > use PDL::Graphics::PLplot; > > my $pl = PDL::Graphics::PLplot->new (DEV => "png", FILE => "test.png"); > my $x = sequence(10); > my $y = $x**2; > $pl->xyplot($x, $y); > $pl->close; > --------------------------------- > > But I can't output png format. The following message is shown. > > ------------------------------ > Requested device png not available > > Plotting Options: > < 1> wingcc Win32 GCC device > < 2> ps PostScript File (monochrome) > < 3> psc PostScript File (color) > < 4> xfig Xfig file > < 5> null Null device > < 6> mem User-supplied memory device > < 7> svg Scalable Vector Graphics (SVG 1.1) > ----------------------------------- > > You need to get a version of the PLPlot library that supports PNG. You can only use a device from the list above. -- Tim Jenness
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
