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

Home » Public Forums » archive » Re: regarding IDLgrAxis range
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: regarding IDLgrAxis range [message #46742] Fri, 09 December 2005 05:46
David Fanning is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: regarding IDLgrAxis range
Next Topic: Parameters and MPFIT

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

Current Time: Thu Oct 09 21:43:33 PDT 2025

Total time taken to generate the page: 0.16337 seconds