Re: Rant about axis range defaults using overplot in object graphics [message #91658 is a reply to message #91657] |
Tue, 11 August 2015 02:57   |
lecacheux.alain
Messages: 325 Registered: January 2008
|
Senior Member |
|
|
Le mardi 11 août 2015 01:33:41 UTC+2, laura...@gmail.com a écrit :
> I know you Exelis folks are lurking out there, so why, oh, why, have you used the default of changing the axis ranges to match the new data when doing an overplot in object graphics? When I overplot data, in most cases I want to just overplot the new data on top of the original data (oddly enough). I think most of the time, people would like to keep the same axes unless they specifically ask to change them. It is a pain in the a** to keep restoring the axis ranges every time I add a new set of data.
>
> (Note: If there is a way to override this default aside from constantly specifying the original axis ranges as separate properties every time I do an overplot, please let me know. I can't find any reference to this in the Exelis documentation or on this website.)
A simple way to overplot without changing axes:
plot = plot(...)
overplot = plot(/OVER, ..., XRANGE=plot.XRANGE, YRANGE=plot.YRANGE)
You might even substitute /CURRENT to /OVER keyword in this case.
alx.
|
|
|