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

Home » Public Forums » archive » Re: Question on PLOTS command
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: Question on PLOTS command [message #2158 is a reply to message #2156] Tue, 07 June 1994 06:17 Go to previous message
stl is currently offline  stl
Messages: 70
Registered: February 1994
Member
In article <2svmv4$6qf@mojo.eng.umd.edu> dpal@glue.umd.edu (Debabrata Pal) writes:
>
> Hello everybody:
>
> I am trying to overlay the geometry of a computational domain on the contour plot. I am having no trouble in generating the contour plot. I am trying to generate the geometry of domain using PLOTS command. The geometry is very simple and can be generated by drawing a view horizontal nd vertical lines. But when i use PLOTS command to generate geometry, for example,
>
> PLOTS, [0, 0],[.9,.9], i get an error message like this
>
> % PLOTS: Data coordinate system not established.
>
> In other words, I am having trouble establishing the data coordinate system.
> Can anybody tell me how to establish the data coordinate system in this regard?

Hi,

Okay, IDL uses 3 coordinates systems:
Normal all data is between 0-1
Device for display, this is pixel coord
Data coordinates established with data range of a plot (or
controur, etc..)
Different routines have different defaults of what coordinate type to
accept. I believe your above command will work as follows: (assuming
you do indeed want to use normal coordinates)

PLOTS, [0, 0],[.9,.9],/Normal

This plots from point (0,0) to (.9,.9).
Remember, the first array are the x coordinates, and the second array
are the y coordinates.

-stephen
hope this helps a little
--
Stephen C Strebel / SKI TO DIE
strebel@sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
[Message index]
 
Read Message
Read Message
Previous Topic: IDL and MacX...A question
Next Topic: Re: Calling Fortran program

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

Current Time: Fri Oct 10 08:17:05 PDT 2025

Total time taken to generate the page: 1.27697 seconds