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 #2156] Tue, 07 June 1994 06:56 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
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?

> thank you


> Deb

I'm not quite sure what you're trying to do, but PLOTS is basically the same as
OPLOT (and usually OPLOT is preferred in my opinion). Is it that you are
generating the contour plot and then trying to use PLOTS to draw a box within
it (which should work)? Or are you trying to use PLOTS first to establish the
coordinate system, followed by CONTOUR,/OVERPLOT? If the latter, then I would
suggest substituting PLOT for PLOTS.

However, if I understand what you're trying to do, it's much easier just to use
CONTOUR itself to establish the coordinate system. Just leave off the
/OVERPLOT qualifier. If necessary, you can use the XRANGE and YRANGE keywords
to limit the range, e.g.

CONTOUR, ARRAY, XPOINTS, YPOINTS, XRANGE=[0,0.9], YRANGE=[0,0.9]

(I figure that you must want to call CONTOUR with all three parameters with a
range like that).

Bill Thompson
[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: Wed Oct 08 18:08:01 PDT 2025

Total time taken to generate the page: 0.00198 seconds