regarding IDLgrAxis range [message #46743] |
Fri, 09 December 2005 02:53 |
IDLmastertobe
Messages: 54 Registered: June 2004
|
Member |
|
|
Hi,
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?
Thanks.
|
|
|