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

Home » Public Forums » archive » Re: Reversing an axis with IDLgrAxis
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: Reversing an axis with IDLgrAxis [message #14196 is a reply to message #14194] Tue, 02 February 1999 00:00 Go to previous messageGo to previous message
Wayne Baggett is currently offline  Wayne Baggett
Messages: 1
Registered: February 1999
Junior Member
Peter Connell wrote:
>
> OK, I give. I would like to plot an axis (object graphics) with values
> descending rather than ascending in the normal positive direction. I can do
> this using (XY)COORD_CONV, but when I do, the tick text and axis title are
> reversed as well (mirror image) and I can't figure out how to reverse them
> back to read normally.
> Any help?
>
> Peter Connell
> connell2@llnl.gov

I've never done object graphics, but with the basic PLOT function, just specify
the axis range (e.g., !X.RANGE = [xmin,xmax]) with the "minimum" greater than
the "maximum".

Example:

x = findgen(500)/50.
y = 3.5*sin(x)*x
!y.range=[30.,-20.]
plot,x,y


Is there a similar mechanism for object graphics? If so, you might give it a
try.

--
Wayne Baggett x5011
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: !P.MULTI + POSITION keyword problem
Next Topic: Color in emacs IDL mode

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

Current Time: Fri Oct 10 08:33:40 PDT 2025

Total time taken to generate the page: 0.95884 seconds