You can issue a reset:
$w->reset()
I think that is a wart of the underlying gnuplot -- the zooming around works by
actually setting the xrange and yrange, which then stay the same on subsequent
plots unless explicitly set. I've been trying to decide whether it's better to
issue the commands every time (thereby preserving subsequent interactive plots
with the state of the PDL plot object) or to leave it as-is (thereby preserving
the user-defined state of the visible plot). Thoughts?
Cheers,
Craig
On Jan 30, 2013, at 2:31 PM, Chris Marshall <[email protected]> wrote:
> HI Craig-
>
> I've been trying out PDL::Graphics::Gnuplot and have
> run into a problem where if I zoom with the mouse
> into a region of the window, I can never view another
> plot since the default autosizing does not seem to
> take place for each gplot() command. Any ideas for
> how to do a "new" plot as if no previous plots had
> been done?
>
> Thanks,
> Chris
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl