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

Home » Public Forums » archive » Re: why do not the results agree?
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: why do not the results agree? [message #43585 is a reply to message #43581] Thu, 21 April 2005 05:49 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"lixiaoyao" <lixiaoyao5880@yahoo.com> writes:
> Dear David
> You are right,when you plot it,it is the same.but the problem is when
> I output the xy data to the file.and plot it again,it give the wrong
> data just like I send to you.

Li Xi--

I believe the problem is that you are working in "normal" coordinates.
These coordinates depend on how the coordinate system of the plot is
set up. For example, the presence of axis labels (or not) will change
the normal coordinates of the same data point, since the view window
shifts to accomodate the labels.

The problem is that in your two different calls, you are using
different font and title options.

Compare:
> contour,R,x,y,levels=[0.6,0.7,0.8,0.892521,1.0,1.1,1.2],c_la bels=[1,1,1,1,1,1,1],xtitle='Dimensionless Radius',ytitle='Mach number',title='Isothermal case'

to:

> contour,R,x,y,level=[0.892521],path_xy=xy,path_info=info,clo sed=0,/path_double

Note the missing *TITLE options.

You can either be sure the second call is a duplicate of the first, or
use "data" coordinates instead of "normal" coordinates (see
PATH_DATA).

Good luck,
CM
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idlwave-launch-idlhelp doesn't help
Next Topic: IDLWAVE Questions (?)

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

Current Time: Sat Oct 11 16:14:48 PDT 2025

Total time taken to generate the page: 0.72126 seconds