Interesting -- Deaglan seems to have written to several of us
individually. I am unable to reproduce his problem; have asked him to
try a test script:
use PDL;
use PDL::Graphics::PGPLOT::Window;
$w = pgwin(xs); # Deaglan, I asked for "xw" since I thought you
weretyping into perldl, not perl itself
$w->env({xtit=>'foo',ytit=>'bar'},0,10,200,300);
That should produce a nice set of axes -- at least it does on my system.
Cheers,
Craig
On Aug 10, 2007, at 4:38 PM, Doug Hunt wrote:
Hi Deaglan: I'm no longer using PGPLOT with PDL, instead I'm using
PDL::Graphics::PLplot (it turns out the PLplot is another plotting
package similar, but in some ways nicer than, PGplot, but under
current development).
If changing to PLplot would be too painful (this might be true, the
interface is quite different) then:
1) I'm CCing the perldl group, the folks who still use PGplot may
have some ideas.
2) I remember when I used PGplot always having to use the low level
interface, so instead of using XTitle => 'foo', I'd have to use
pgtext or some such.
Hope this helps,
Doug Hunt
[EMAIL PROTECTED]
Software Engineer III
UCAR - COSMIC, Tel. (303) 497-2611
On Fri, 10 Aug 2007, [EMAIL PROTECTED] wrote:
Hi,
I'm a student working at LLNL. I'm using PDL/PGPLOT for my summer
project involving data
processing and graphing. The graph generation is working great
except for one thing- I
can't get labels to appear on the graphs no matter what I do. All
the other options work
great, but the options XTitle => '', YTitle => '', Title => ''
seem to have no effect
when used inside env, or new. My graphs appear with tick marks but
no nubers on the axes,
and no titles. I'm generating ps/cps or /xs outputs. I don't know
what to do. Can you
please advise? Thank you so much for your time.
Deaglan Halligan
_______________________________________________
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