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

Home » Public Forums » archive » Reversing Object Graphics Axis Range
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reversing Object Graphics Axis Range [message #27476] Thu, 25 October 2001 07:15 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I had occasion the other day to require a reverse
object graphics axis (I.e., one that went from 1.2
at the bottom of the axis to 0 on the top. In direct
graphics, I could simply reverse the axis range:

Plot, data, ZRange=[1.2, 0]

You can do the same thing in object graphics. And
the result is an axis with the proper numbers, alright,
but with the annotation oriented upside down and backwards!
It was a tad hard to read. :-)

I figured out a way (eventually) to get what I wanted,
but I ran into all kinds of interesting "features"
in the process. I was going to write my observations
up in an article to save everyone else the excessive
effort, but I got to thinking that *surely* this can't
really be this hard.

So, has anyone managed to do something like this in
a simple and straightforward way that I may have
overlooked?

Cheers,

David

P.S. Let's just take as a working definition of
"simple and straightforward" something that takes
less than 15 lines of code. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Newbie question again - Marking region of interest
Next Topic: Re: Beginner Question: Disappearing Info Structure/Motion Events

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

Current Time: Sun Oct 12 08:00:43 PDT 2025

Total time taken to generate the page: 1.36218 seconds