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

Home » Public Forums » archive » Re: 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
Re: how to get the data from the contour line? [message #43626] Tue, 19 April 2005 22:11
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> "lixiaoyao" <lixiaoyao5880@yahoo.com> writes:
>> so,can you tell me how to it in detail?
>
> Yes, you open the documentation, and search for the procedure CONTOUR.
> Then you look for the keywords starting with the phrase PATH.

What a fortuitous day to retire! :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: how to get the data from the contour line? [message #43629 is a reply to message #43626] Tue, 19 April 2005 20:51 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"lixiaoyao" <lixiaoyao5880@yahoo.com> writes:
> so,can you tell me how to it in detail?

Yes, you open the documentation, and search for the procedure CONTOUR.
Then you look for the keywords starting with the phrase PATH.

CM
Re: how to get the data from the contour line? [message #43630 is a reply to message #43629] Tue, 19 April 2005 20:05 Go to previous message
lixiaoyao is currently offline  lixiaoyao
Messages: 49
Registered: April 2005
Member
so,can you tell me how to it in detail?
Thanks
Re: how to get the data from the contour line? [message #43631 is a reply to message #43630] Tue, 19 April 2005 18:58 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"lixiaoyao" <lixiaoyao5880@yahoo.com> writes:


> 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?

How about reading the documentation for CONTOUR and the keywords
beginning in PATH?

Craig


> 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"
>

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: * lixiaoyao *
Next Topic: Re: how to draw three-dimension graph using IDL

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

Current Time: Wed Oct 08 19:25:59 PDT 2025

Total time taken to generate the page: 0.00635 seconds