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

Home » Public Forums » archive » Re: How to reverse the order of tick mark
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: How to reverse the order of tick mark [message #7079] Fri, 20 September 1996 00:00 Go to previous message
James Tappin is currently offline  James Tappin
Messages: 54
Registered: December 1995
Member
Gary Fu wrote:
>
> Hi,
>
> In idl command 'plot, [0,100], [0,100], /nodata', the labels of the
> tick marks are ordered from 0, 20, 40, 60, 80, up to 100. Is there
> a way to reverse the order from 100 to 0 ?
>
> TIA
>
> Gary

Try:
plot, /nodata, fltarr(2), xrange=[100,0], yrange=[0,100]

That is of course assuming that it's the X-axis you want to reverse. (If you
specify both ranges and /nodata the argument still has to be there but is
entirely ignored).

--
+------------------------+---------------------------------- --+---------+
| James Tappin, | School of Physics & Space Research | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+----------------------------------------------------------- --+---------+
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL with C/C++
Next Topic: $$COULD YOU USE A LOTTA XTRA CASH?$$

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

Current Time: Fri Oct 10 11:38:44 PDT 2025

Total time taken to generate the page: 2.08105 seconds