Jamie Leech wrote:
Hi,
When I use the fits_imag function in PDL::Graphics::PGPLOT in PDL
version 2.4.3, it now messes up two things -
1) The axis labels - it seems to plot two sorts one over the other.
2) Plotting circles with the correct radius then ceases working (this
might be related to the above).
The function call is
$win->fits_imag( $the_fits, {Panel => [1, 1],DrawWedge=>0});
Note that fits_imag does exactly the right thing in version 2.4.2 but
the above bug appears in version 2.4.3. I also see the same
correct/wrong behaviour between these two versions on Debian Linux and
Mac OS.
Hi Jamie,
The problem is not with fits_imag, it is with circle. In versions
previous to 2.4.3, plotting a circle like this: $win->circle(0,0,1)
worked, but plotting a circle like this:
$win->circle(0,0,1,{xr=>[-5,5],yr=>[-5,5]}) didn't work (if I remember
correctly). So now circle will obey the ranges on the plot *if the
window is held*, so you can get the behavior you want by inserting a
$win->hold; after your fits_imag call, then a $win->release; after your
circle call.
cheers,
Derek
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl