Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: how to draw...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 13 Topic 5515 of 6454
Post > Topic >>

Re: how to draw streamline

by "Kenneth P. Bowman" <k-bowman@[EMAIL PROTECTED] > Mar 7, 2008 at 07:55 AM

In article 
<92bef8cb-bd54-48b7-b54c-2ff9f4f75bf7@[EMAIL PROTECTED]
>,
 wenfang_zhao@[EMAIL PROTECTED]
 wrote:

> Hi,all
> I  want to draw the wind streamline map,and I try many methods
> described in the forum, but some are wind vectors not the streamline,
> which is the serial contour line with arrow on the contour plot.
> 
> some one ever mentioned that there was a script sample on the web site
> http://www.metvis.com.au/idl/
> but i can't get access to it.
> 
> so if there anybody who can load that web site and give a copy of both
> the script and the streamline image  for me?
> 
> I will appreciate your help!
> 
> wenfang

Here is a sample code to plot 2-D streamlines using VEL.

By default VEL chooses the initial points randomly, but the
source code is available if you want to change that.

Ken Bowman



PRO STREAMLINE_DEMO

n  = 50
x  = FINDGEN(n)/(n-1)
y  = FINDGEN(n)/(n-1)

xx = REBIN(x, n, n)
yy = REBIN(REFORM(y, 1, n), n, n)

u  = -SIN(!PI*xx)*COS(!PI*yy)
v  =  COS(!PI*xx)*SIN(!PI*yy)

VEL, u, v, NVECS = 100, NSTEPS = 100, length = 0.5

END
 




 13 Posts in Topic:
how to draw streamline
wenfang_zhao@[EMAIL PROTE  2008-03-06 19:08:36 
Re: how to draw streamline
mankoff <mankoff@[EMAI  2008-03-06 19:56:03 
Re: how to draw streamline
David Fanning <news@[E  2008-03-06 21:06:09 
Re: how to draw streamline
David Fanning <news@[E  2008-03-06 21:04:49 
Re: how to draw streamline
"Kenneth P. Bowman&q  2008-03-07 07:55:41 
Re: how to draw streamline
mankoff <mankoff@[EMAI  2008-03-11 10:25:55 
Re: how to draw streamline
Chris Torrence <gorthm  2008-03-13 13:32:55 
Re: how to draw streamline
wfzhao@[EMAIL PROTECTED]   2008-03-16 22:22:24 
Re: how to draw streamline
"mgalloy@[EMAIL PROT  2008-03-17 07:27:07 
Re: how to draw streamline
mankoff <mankoff@[EMAI  2008-03-17 14:52:44 
Re: how to draw streamline
"mgalloy@[EMAIL PROT  2008-03-17 15:31:52 
Re: how to draw streamline
wfzhao@[EMAIL PROTECTED]   2008-03-17 23:56:06 
Re: how to draw streamline
Michael Galloy <mgallo  2008-03-18 07:50:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 13:53:04 CST 2008.