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
Re: Reversing Object Graphics Axis Range [message #27618 is a reply to message #27476] Thu, 25 October 2001 07:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning (david@dfanning.com) writes:

> 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.

> [snip]

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

I've actually just solved *part* of my problem.
I can now get the axis tick annotation to appear
correctly if I set the TextUpDir keyword for the
axis:

zAxis = Obj_New("IDLgrAxis", 2, Color=[0,255,0], Ticklen=0.1, $
Minor=4, Title=ztitleObj, Range=Reverse(zrange), $
TextUpDir=[0, 0, -1])

Now it is just the axis TITLE that is reversed.
I've tried setting the UpDir keyword on the text
object that I use for the title, but properties you
set for text objects don't seem to have
any effect when the text object is part of an
axis unit. Has anyone else noticed this?

Cheers,

David

--
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: Wed Dec 03 06:53:34 PST 2025

Total time taken to generate the page: 0.96488 seconds