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

Home » Public Forums » archive » oplot in normal coordinates?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
oplot in normal coordinates? [message #16237] Tue, 13 July 1999 00:00 Go to next message
luthi is currently offline  luthi
Messages: 20
Registered: March 1999
Junior Member
Hello

Just another problem with plotting: is it possible to oplot in normal
coordinates?

plot, [0],[0],xrange=[-1,1],yrange=[-1,1]
oplot,[0.5],[0.5],psym=2,/normal

plots the symbol at (0.5,0.5) in data coordinates instead of somewhere around
(0,0), which would be the appropriate place in normal coordinates. Am I
overlooking something?

(btw.: PV-Wave 6.1, Solaris 2.6)

Cheers

Martin

--
============================================================
Martin Luethi Tel. +41 1 632 40 92
Glaciology Section Fax. +41 1 632 11 92
VAW ETH Zuerich
CH-8092 Zuerich mail luthi@vaw.baum.ethz.ch
Switzerland
============================================================
Re: oplot in normal coordinates? [message #16324 is a reply to message #16237] Wed, 14 July 1999 00:00 Go to previous message
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
In article <yfmn1x02tr8.fsf@aura.ethz.ch> luthi@aura.ethz.ch
(Martin LUETHI GL A8.1 2-4092) writes:

> Thank you for your answers! It is just confusing that the
> manual lists the /normal keyword for oplot, if it won't make
> any effect.

Sure it has an effect. For the CLIP keyword values.

> For illustration an excerpt from the online reference:
>
> ------
> Normal Keyword
>
> Indicates that the coordinates are in the normalized
> coordinate system and range from 0.0 to 1.0.
>
> When used with AXIS, CONTOUR, OPLOT, PLOT, SHADE_SURF, and
> SURFACE, indicates that the Clip and/or Position coordinates
> are in the normalized coordinate system and range from 0.0 to
> 1.0.
> ------
>
> How would you guess from this that this feature is not
> implemented? By the way: at least in PV-Wave the PLOT command
> understands the /normal keyword in conjunction with the
> position keyword, which is the only way to make good multiple
> plots (!p.multi is not flexible enough), especially a small
> plot (an overview map) inside of a larger (data) plot.

What do you mean, not implemented? As the documentation says,

When used with [PLOT/OPLOT], it indicates that *clip* and/or
*position* (keyword) coordinates are interpreted as normal
coordinates.

Of course, for POSITION the default *is* normal coordinates,
but for CLIP the default is data coordinates.

Regards,

Stein Vidar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TrackBall Object.
Next Topic: Simplified Wrapper and Interface Generator (SWIG)

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

Current Time: Wed Oct 08 17:27:51 PDT 2025

Total time taken to generate the page: 0.00620 seconds