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 axis
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: How to reverse the axis [message #70736] Mon, 03 May 2010 06:15
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sid writes:

> Give some tips to reverse the axis, since I need to plot several
> files, I can't always look for the yrange and then reverse the yrange
> to get the axis reversed.
> Please suggest me whether there is anyother way of reversing axis
> other than checking for the range.

What makes you think you have to "check" the range?
You simply have to reverse the range:

Plot, x, y, YRANGE=[Max(y), Min(y)]

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to reverse the axis
Next Topic: Re: shifting individual pixels within an image

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

Current Time: Wed Oct 08 17:30:39 PDT 2025

Total time taken to generate the page: 0.00551 seconds