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

Home » Public Forums » archive » Re: Reverse 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: Reverse axis, [message #12643] Mon, 10 August 1998 00:00 Go to previous message
badastro is currently offline  badastro
Messages: 7
Registered: August 1998
Junior Member
In comp.lang.idl-pvwave Philip Plait <badastro@smart.net> wrote:
> In comp.lang.idl-pvwave David Fanning <davidf@dfanning.com> wrote:
>> Lars Hanson (root@tesla.drcmr.dk) writes:

>>> I need the functionality of the PLOT function
>>> PLOT, X, Y
>>> but with the x-axis inverted (decreasing values
>>> from left to right). There must be a simple general way,
>>> but I can't find it. Any ideas?

>> PLOT, X, Y, XRANGE=[100,0]

> I have done this too, as well as

> IDL> plot reverse(x), y

As Dave Fanning just pointed out to me, this probably won't work for you.
Where I use it is a special case, and it does what I need. In most
cases, you can probably take Dave's advice. ;-)

* * * * * The Bad Astronomer * * * *

Phil Plait badastro@smart.net
The Bad Astronomy Web Page: http://smart.net/~badastro/bad.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scientific Programmer position available
Next Topic: Re: Widget_List question ...

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

Current Time: Wed Oct 08 17:14:32 PDT 2025

Total time taken to generate the page: 0.00395 seconds