Re: regarding IDLgrAxis range [message #46742] |
Fri, 09 December 2005 05:46 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
IDLmastertobe writes:
> I am trying to implement something on IDLgrAxis so that the axises can be
> rescaled, which means:
> if the original axis is [0 10 20 30 40] and if I offset by 10, i will get
> [10 20 30 40 50] etc. I can do that by recomputing the axis's value and
> reset the ticktext array. Now I also want to have control on the starting
> and ending tick mark, say I only want to display from 20 to 50 and skip 10.
> I could do that by using RANGE property in IDLgrAxis if I did NOT rescale
> the original axis. But after I rescale as I did above, the IDLgrAxis does
> not know internally that I have rescaled it and thus still display values
> according to the original values, in this case 50 was out of range and I
> will get some display totally weird. Is there a way I can tell IDLgrAxis
> object that the range of the values are no longer 0-40 but 10-50 now?
I'm not sure I follow this completely, but this article
might help:
http://www.dfanning.com/ographics_tips/font_dimensions.html\ \
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|