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

Home » Public Forums » archive » Re: dfanning widbarb.pro
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: dfanning widbarb.pro [message #66268] Fri, 24 April 2009 12:41
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
OK, maybe I was wrong. The following example works.
I trying to do that in a object graphics and I've some trubles but
I'll continue checking the code

Thanks anyway....


x=REBIN(FINDGEN(20)*(1/19.),20,20,/SAMPLE)
y=REBIN(TRANSPOSE(FINDGEN(20)*(1/19.)),20,20,/SAMPLE)

wspeed=RANDOMU(-3,[20,20])*100+5.0
direction=FINDGEN(20,20)*360/(48^2.-1)

WINDOW, 1, retain=2, Title='Wind Barbs', /Free, xs=750, ys=750
plot, findgen(10), fltarr(10), clip=[0,0,1,1],xrange=[0,1],yrange=
[0,1]
ERASE, Color=FSC_Color('Ivory', !P.Background)

WINDBARB, x, y, wspeed, direction, ASPECT=1, LENGTH=0.01,
color='Black', clip = [0, 0, 1, 1]

for i=0, 20 do OPLOT, FINDGEN(10),FLTARR(10)+i/19., col=FSC_COLOR
('Black')
for i=0, 20 do OPLOT, FLTARR(10)+i/19.,FINDGEN(10), col=FSC_COLOR
('Black')
[Message index]
 
Read Message
Previous Topic: dfanning widbarb.pro
Next Topic: Re: Adding a stack of array in quadrature sum

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

Current Time: Sat Oct 11 09:29:14 PDT 2025

Total time taken to generate the page: 0.63655 seconds