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

Home » Public Forums » archive » Object graphics 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
Object graphics axis [message #17482] Fri, 22 October 1999 00:00 Go to previous message
Karri Kaksonen is currently offline  Karri Kaksonen
Messages: 27
Registered: October 1999
Junior Member
I just came back from Davids course about object graphics and it
occured to me that a reason why positioning the axis objects is
so difficult is that the range depends on the location of the
axis.

The manual says that the range of the axis is set by a vector:

[-Xmin/(Xmax-Xmin), 1/(Xmax-Xmin)]

This may work if the length of the axis is 1.0 in normalized
coordinates. In the course I chose the length to be 2.0 and in
order to get it right I just tried out different values until
I found it to be closer to:

[-1-Xmin*2/(Xmax-Xmin), 2/(Xmax-Xmin)]

I thought about this on my flight home last night and what I am
afraid of is that the -1 in the first element may actually depend
on where the axis is drawn on the screen. My location of the axis
was at [-1.0, -1.0]. If this is the case then RSI should do
something about it before version 5.3 comes out. Otherwise you have
to update the range vector every time you reposition the axis.

If somebody understands what is going on, please drop a line.

--
Regards,

Karri Kaksonen
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to import an source interface ?
Next Topic: Re: undefined keyword variables

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

Current Time: Sat Oct 11 12:36:56 PDT 2025

Total time taken to generate the page: 0.96377 seconds