Re: why do not the results agree? [message #43585 is a reply to message #43581] |
Thu, 21 April 2005 05:49   |
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
|
|
|