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

Home » Public Forums » archive » Re: 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
Re: Object graphics axis [message #17460 is a reply to message #17441] Mon, 25 October 1999 00:00 Go to previous messageGo to previous message
<karri is currently offline  <karri
Messages: 4
Registered: October 1999
Junior Member
Thank you for the tip about Normalize. David did go through this
but I still wanted to understand how the location/coordconv stuff
works.

I run some tests at home and found out that the Location-keyword
sets two coordinates out of three. And the coordconv sets the
third coordinate, range and the scale.

range = [-50 150]
normalized_len = 1.6

Location = [not_valid y_pos z_pos]
scale = normalized_len/(range[1]-range[0])
Xcoordconv = [x_pos - range[0]*scale, scale]

This does not sound logical to me. I would rather see:

Location = [x_pos, y_pos, z_pos]
Scale = normalized_len/(range[1]-range0])
Offset = -range[0]*scale

Perhaps RSI could add "scale" and "offset" to make the objects behave
like the user expects them to work.

On Mon, 25 Oct 1999, Ben Tupper wrote:

> ... snip ...
> Fortunately, David F has written the NORMALIZE function for people like
> me who tend to shuffle along with the lost sometimes. NORMALIZE is
> available at his website. NORMALIZE accepts (as a keyword) the
> POSITION you intend to scale your axis into.

--
Regards,

Karri Kaksonen
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 5.2.1 -- bug in filled contours?
Next Topic: Re: Can this be vectorized?

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

Current Time: Sun Nov 30 12:12:39 PST 2025

Total time taken to generate the page: 2.73199 seconds