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

Home » Public Forums » archive » show a lifted y-axis
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: show a lifted y-axis [message #79844 is a reply to message #79798] Thu, 05 April 2012 16:07 Go to previous message
santorofer is currently offline  santorofer
Messages: 14
Registered: July 2008
Junior Member
Hi Zhang,

Please, take a look at the IDL help system. In it you will see that:

CRANGE
The output axis range. Setting this variable has no effect; set ![XYZ].RANGE to change the range. ![XYZ].CRANGE[0]) always contains the minimum axis value, and ![XYZ].CRANGE[1] contains the maximum axis value of the last plot before extending the axes.

Try setting the !y.range instead. Though, I'm not sure what you would like to do exactly: what do you mean by "this yaxis is showing in the upper space and others are showing in the lower space"?

Cheers,
Fernando

On Thursday, March 29, 2012 11:52:12 AM UTC-6, Zhang Bo wrote:
> Dear IDLers,
>
> I want to lift the start point of y-axis so that this yaxis is showing
> in the upper space and others are showing in the lower space. I know
> this can be down by set a lower yrange and squeeze the data to the
> upper space, but data such as relative humidity, doesn't have negative
> values and it won't be appropriate to show that on the y-axis. I
> expect set the !y,cragne(0)+.5 would work, but no.
>
> axis, /yaxis, /save, !x,cragne(0)+.5, !y,cragne(0)+.5, yrange =
> [0,100], ytitle = 'RH'
>
> any idea? and what "!y,cragne(0)" can do for a y-axis?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Acces to the spatial Subset widget In Envi
Next Topic: Burned Twice!

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

Current Time: Mon Dec 01 12:05:37 PST 2025

Total time taken to generate the page: 1.68577 seconds