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

Home » Public Forums » archive » how to get the data from the contour line?
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
how to get the data from the contour line? [message #43632] Tue, 19 April 2005 18:36
lixiaoyao is currently offline  lixiaoyao
Messages: 49
Registered: April 2005
Member
hello all
I have a file like this to draw the contour using IDL.my probelm is
how to get the data for the contour level is equal to 1.2 case?
who can help me for this question?
set_plot,'ps',/copy
device,filename='isothermal.ps'
device,/landscape
;window,xs=640,ys=480
x=2*findgen(101)/100+0.2
y=2*findgen(101)/100+0.2
xx=rebin(x,n_elements(x),n_elements(y))
yy=rebin(transpose(y),n_elements(x),n_elements(y))
;shade_surf,(exp(2*alog(yy)+1/yy))/(exp(xx^2)-alog(xx)),xx,y y
;contour,(exp(2*alog(yy)+1/yy))/(exp(xx^2)-alog(xx)),yy,xx
shade_surf,exp(xx^2/2-alog(xx))/(exp(2*alog(yy)+1/yy)),yy,xx ,xtitle= "Dimensionless
Radius in log scale",ytitle="Mach number in log scale"
contour,exp(xx^2/2-alog(xx))/(exp(2*alog(yy)+1/yy)),yy,xx,le vel=[0.4,0.6,0.892521,1.2,1.4],/xlog,/ylog,xtitle= "Dimensionless
Radius",ytitle="Mach number",title="Isothermal case"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: how to set the contour to a fixed point?
Next Topic: * lixiaoyao *

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

Current Time: Sat Oct 11 07:43:06 PDT 2025

Total time taken to generate the page: 0.80208 seconds