comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Rant about axis range defaults using overplot in object graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Rant about axis range defaults using overplot in object graphics [message #91669 is a reply to message #91662] Tue, 11 August 2015 16:22 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Tuesday, August 11, 2015 at 9:59:16 AM UTC-6, Dick Jackson wrote:
> On Tuesday, 11 August 2015 07:49:00 UTC-7, Paul van Delst wrote:
>
>> So, I'm happy to use the method alx detailed to prevent the
>> auto-plot-range-adjustment because I know sometimes it is useful.
>>
>> I'm not sure if I can say this without sounding condescending to the OP
>> (I don't mean to be), but this was one of those times with IDL function
>> graphics where I simply weighed my perception anchor and dropped it
>> someplace else.
>
> That's a great image, Paul. And for those whose first language is not Nautical English :-), to "weigh anchor" means to raise it from the sea floor, not to measure its weight.
>
> If you're a fan of technical writing for a *really* wide audience, Randall Munroe helps to show the way:
> http://xkcd.com/1133/ "Up Goer Five"
> http://xkcd.com/thing-explainer/ "Thing Explainer"
>
> Cheers,
> -Dick
>
> Dick Jackson Software Consulting Inc.
> Victoria, BC, Canada --- http://www.d-jackson.com

One tweak to alx's code is to simply set the x/yrange after the first plot. Once you set the range it should keep it constant. For example:

IDL> p = plot([0,1])
IDL> p.xrange = p.xrange
IDL> p.yrange = p.yrange
IDL> p1 = plot([0,2],/overplot)

Man the capstan!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I require to input pixel coordinates to spit out lat-long of the same
Next Topic: Read data in more than one column

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:47:50 PDT 2025

Total time taken to generate the page: 0.00244 seconds