Hi, Greg,

PGPLOT plots white on black in the pixel formats and black on white in the PostScript formats -- for production/printing, it is better to use (e.g.) the "/VCPS" device, which will output a Portrait-oriented color PostScript file.

Alternatively, you can use the PNG device and fix it up post-facto before printing, e.g. with

  $im = rim("output.png");
  wim( 255 - $im, "output-fixed.png");

There are other graphics output modules as well. PLPlot is quite stable these days, though its high-level interface is not at the level of PPGLOT yet. There is a new GnuPlot module that you can try too.

Cheers,
Craig


On Jul 1, 2011, at 1:21 PM, greg aiken wrote:

I am new to PDL & PGPLOT. Yesterday I just installed this for Windows.

I have figured out how to create and plot my own data into a dev=("/ PNG") *.png file.

However, when this file gets created the background is Black and the type and plot axis is White.

This consumes a great amount of ink when printed on my printer.

Ive executed:  pdldoc PDL::Graphics::PGPLOT::Window

To read the online help about PGPLOT's Window options, but I cant seem to find the information I need here...

If someone can please provide a brief code fragment, t his would be very helpful to me.

Thanks in advance...
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to