It took me a little while to figure out how to make a color wedge in a
non-image plot, which I wanted to do because I'm using the ColorValues
option and I'd like a visible scale for my "z axis".  I think it
should be an option by default.

If I tried to just $win->draw_wedge(), I got the error:
PDL: Internal error: no storage space in object

So I added the line
$win->_store(imag=>{routine=>"I",min=>$z->min,max=>$z->max), which I
pilfered from the imag source.  I think this does what I want, though I didn't
read up on what 'routine' does, and I'm assuming min and max are the min
and max values of my z axis.

Anyone have a better solution?

Adam

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

Reply via email to