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

Home » Public Forums » archive » Re: IDLgrAxis expanding
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: IDLgrAxis expanding [message #15055 is a reply to message #15048] Wed, 14 April 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
I wrote after one too many beers:

> So here is how it is done. (It's a bit convoluted here,
> but it's a solution programmers will love.) I'm showing
> here just the calculations for the dependent data axis,
> but the other axes will be done in the same way:

Alright, I admit it. I was completely wrong. As Mark Hadfield
points out, you can use the CRANGE keyword to get the real,
autoscaled, range of the axis:

thisAxis->GetProperty, CRANGE=realRange

But this exercise wasn't completely pointless. I did come up
with a true "programmers" solution, and I did learn
a couple of things.

1. I learned something I didn't know about object axes and
Lord knows I've plenty of room to learn more.

2. I learned that it doesn't matter if you have looked up
the GetProperty method on an object 100 times and been
told to go to the INIT method 100 times. If you look
it up for the 101st time, you may find a keyword you
*can't* find in the INIT section of the manual.

And I re-learned that most of the information I want *IS*
in the IDL documentation, even if I don't know where to
find it. :-)

But I am still confused about one thing: why "C"Range?
What does that mean? I can understand "O"(output)Range,
or "R"(real)Range, or "A"(autoscaled)Range. But I just
don't get "C"Range. And I don't understand why I would
be expected to know that to find what I want in the index
of the on-line help. What I would prefer would be something
like this:

Axis
range
setting
obtaining the value of

I think even I could have found something like that. :-(

Cheers,

David

P.S. You still have to remember to apply the new axis
data range to the DATA, or your axis won't reflect your
true data values.

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Documentation
Next Topic: Re: SVDFIT docs bug

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

Current Time: Wed Oct 08 19:28:49 PDT 2025

Total time taken to generate the page: 0.00470 seconds