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 12 of 13 Topic 5515 of 6454
Post > Topic >>

Re: how to draw streamline

by wfzhao@[EMAIL PROTECTED] Mar 17, 2008 at 11:56 PM

On 3=D4=C218=C8=D5, =C9=CF=CE=E76=CA=B131=B7=D6, "mgal...@[EMAIL PROTECTED]
"
<mgal..=
..@[EMAIL PROTECTED]
> wrote:
> On Mar 17, 3:52 pm, mankoff <mank...@[EMAIL PROTECTED]
> wrote:
>
>
>
>
>
> > On Mar 17, 10:27 am, "mgal...@[EMAIL PROTECTED]
" <mgal...@[EMAIL PROTECTED]
> wrote:
>
> > > On Mar 16, 11:22 pm, wfz...@[EMAIL PROTECTED]
 wrote:
>
> > > > On 3=D4=C214=C8=D5, =C9=CF=CE=E74=CA=B132=B7=D6, Chris Torrence
<gor=
th...@[EMAIL PROTECTED]
> wrote:
>
> > > > > On Mar 7, 7:55 am, "Kenneth P. Bowman" <k-bow...@[EMAIL PROTECTED]
>
wrote:
>
> > > > > > In article
> > > > > >
<92bef8cb-bd54-48b7-b54c-2ff9f4f75...@[EMAIL PROTECTED]
>,
>
> > > > > >  wenfang_z...@[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
stre=
amline,
> > > > > > > which is the serial contour line with arrow on the contour
plo=
t.
>
> > > > > > > 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  =3D 50
> > > > > > x  =3D FINDGEN(n)/(n-1)
> > > > > > y  =3D FINDGEN(n)/(n-1)
>
> > > > > > xx =3D REBIN(x, n, n)
> > > > > > yy =3D REBIN(REFORM(y, 1, n), n, n)
>
> > > > > > u  =3D -SIN(!PI*xx)*COS(!PI*yy)
> > > > > > v  =3D  COS(!PI*xx)*SIN(!PI*yy)
>
> > > > > > VEL, u, v, NVECS =3D 100, NSTEPS =3D 100, length =3D 0.5
>
> > > > > > END
>
> > > > > Following on from Ken's example, you might also try,
>
> > > > > iVector, u, v, x, y, /STREAMLINES, STREAMLINE_NSTEPS=3D25
>
> > > > > -Chris
> > > > > ITTVIS- =D2=FE=B2=D8=B1=BB=D2=FD=D3=C3=CE=C4=D7=D6 -
>
> > > > > - =CF=D4=CA=BE=D2=FD=D3=C3=B5=C4=CE=C4=D7=D6 -
>
> > > > thanks for all response from you.
> > > > now I am a litttle comfused, what kind of line can be called as
wind=

> > > > streamline?
> > > > what I want is the consecutive line with arrow, something like the
> > > > contour plot line with arrow, not the small lines with arrow,I
don't=

> > > > know how to describe it more clear? I have a sample image of wind
> > > > streamline ,which is what I want, but how I can put it on the
forum =
so
> > > > all of you can have a look and understand what I mean.
>
> > > I think you are talking about OSTR (image-guided streamlines) in
this
> > > diagram:
>
> > >  http://michaelgalloy.com/wp-content/uploads/2008/03/flow.png
>
> > > I have thought about making implementations of some of the
> > > visualizations in that diagram. I have a (very slow) implementation
> > > for LIC:
>
> > >  http://michaelgalloy.com/2007/12/09/lic-flow-code.html
>
> > > Mike
> > > --www.michaelgalloy.com
> > > Tech-X Cor****ation
> > > Software Developer II
>
> > Are all 6 images the same data? It looks like it, but it really shows
> > some of the limitations of a simple vector field graphic... Wow.
>
> Yes, all six images are from the same data. And yes, I think the
> standard grid of vectors is not very useful.
>
> Mike
> --www.michaelgalloy.com
> Tech-X Cor****ation
> Software Developer II- =D2=FE=B2=D8=B1=BB=D2=FD=D3=C3=CE=C4=D7=D6 -
>
> - =CF=D4=CA=BE=D2=FD=D3=C3=B5=C4=CE=C4=D7=D6 -

thanks for you response.
I think OSTR and GSTR are what I need.
and I download the source code from your web site named mg_lic.pro and
run in IDL, but it causes my cpu 100% and my computer crash down. so
may I use it correctly or I can adjust some parameter to decrease the
data?
for the first gird, I already do it successfully  on the countour
plot, which means to overplot wind grid arrow on the contour plot map.

wenfang
 




 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:57:37 CST 2008.