On Jun 27, 2006, at 5:35 PM, Derek Lamb wrote:

Well, not that I can't get anything done, just that it was more annoying than I had the patience for at the time I tried to learn. For example:
use PDL::Graphics::PLplot;
$w=new PDL::Graphics::PLplot(DEV=>'xwin');
$x=sequence(10);
$y=$x*$x;
$w->xyplot($x,$y,PLOTTYPE=>'LINE');  ##nothing happens
$w->xyplot($x,$y,PLOTTYPE=>'LINE');  ##now it makes the plot
##and every new xyplot command has to be entered twice
$w->close; ##nothing happens until I click on the window and then press 'enter'

I don't have those problems if I write to a png, and considering that >95% of my plotting is to xwin, I stopped fiddling with it. And, admittedly lazily, put off contacting the author until I could see if it was a PLplot issue or a PDL::Graphics::PLplot issue. Also, it's apparent that there are many many low-level functions, which is great, but I can't use them (again, lazily, because I haven't read the main PLplot docs) if all I know about them is "info not available, *** does not process bad values." This is on my personal list of PDL todos, "Learn PLplot and write some more docs for it", I just haven't done it yet.

I believe that most of the problems you are experiencing are due to the xwin driver and not PLplot itself, as you've observed by using the png driver instead. On linux systems you are probably better off using the gnome canvas driver ("gcw") and on OS-X systems you should consider the aquaterm driver ("aqt"). For better or worse, these drivers have been developed more recently and are more actively maintained than the xwin driver.

The low level functions are pretty are the same as those in the PLplot manual, with some of the variables shuffled for the benefit of PDL::PP so the PLplot manual itself is pretty helpful. Just remember that PDLs come before all the other variables.

That said, I can see that PDL/PLplot might not be the easiest software to use, so I'd be happy to help with a manual/documentation.

best,
-Hazen


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

Reply via email to