----- Original Message ----- 
From: "Art Davis" <[email protected]>
To: "perldl" <[email protected]>
Sent: Tuesday, March 10, 2009 7:50 AM
Subject: [Perldl] PGPLOT, Gnuplot and Plotting for Publication


> Ultimately I need to place some 2-D plots in my LaTex publication.
>
> I played with PGPLOT for a while, but I wasn't able to figure out how to
> make the color/linestyle of the grid different from the axes and labels (I
> strongly prefer a light gray grid color with black axes and tic labels).
> Also I really want fine control over the tic locations which doesn't seem
> possible at least with the high-level PGPLOT commands. I suspect it's 
> doable
> with low-level type commands; but my efforts are slow going in figuring
> these out.

GD functionality (PDL::IO::GD) is also available with  the ppm package from 
the Uwinnipeg rep.
But I don't know what sort of mileage that provides.

Looking at the PGPLOT test suite that comes with PGPLOT-2.20 from CPAN, I 
don't see any graphs there that even include a grid - so I'm not sure 
whether there's anything helpful there for you. (Could be worth a look.)

As you probably already know, the basic "black graph on white background" is 
available by setting environment variables appropriately:

set PGPLOT_FOREGROUND=black
set PGPLOT_BACKGROUND=white
set PGPLOT_RGB=C:\pgplot\bin\rgb.txt

For me, the default was white graph on black background.

Other than that, I couldn't quickly spot anything helpful in the pgplot docs 
( http://www.astro.caltech.edu/~tjp/pgplot/contents.html ). Have you been 
through them ?

Cheers,
Rob


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

Reply via email to