<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
Dear Jhon,
<br />
<br />You is using differents mask values for u and v components.
<br />
<br />Try this way:
<br />'set gxout barb'
<br />'set clevs lev(1) lev(2) ... lev(n)'
<br />'set ccols color(1) color(2 ) ... color(n) color(n+1)'
<br />'d skip(u,2,2);skip(v,2,2);mag(u,v)'
<br />
<br />Good luck!
<br />
<br />Leandro
<br />
<br /><font size="2"><b>On Mon, 21 Sep 2009 17:26:01 +0300, Ioannis Koletsis wrote</b>
<br />> <font face="Arial" size="2">Dear
all,</font>
<br />>
<br />> <font face="Arial" size="2">I plot wind barbs using the maskout function.
Each
color corresponds to a different wind intensity (barbs), for
example:</font>
<br />>
<br />> 'set ccolor
9'
<br />> 'd
maskout(u*2,mag(u,v)-0;maskout(v*2,1.25-mag(u,v))'
<br />>
<br />> 'set ccolor
14'
<br />> 'd
maskout(u*2,mag(u,v)-1.26;maskout(v*2,3.75-mag(u,v))'
<br />>
<br />> 'set ccolor
4'
<br />> 'd
maskout(u*2,mag(u,v)-3.76;maskout(v*2,6.25-mag(u,v))'
<br />>
e.t.c.
<br />>
<br />> <font face="Arial" size="2">I would like to skip barbs in both x and y
direction</font>
<br />>
<br />> <font face="Arial" size="2">I tried to use the skip function,
</font>
<br />>
<br />> 'd
skip(maskout(u*2,mag(u,v)-3.76;maskout(v*2,6.25-mag(u,v)),2,2)
<br />>
<br />> <font face="Arial" size="2">but it didn't
work!</font>
<br />>
<br />> <font face="Arial" size="2">Would somebody please help me?
</font>
<br />> <font face="Arial" size="2">Any
idea?</font>
<br />>
<br />> <font face="Arial" size="2">Thanks in
advance</font>
<br />>
<br />> <font face="Arial" size="2">John</font>
<br />>
<br />>
<br />> -----------------------------------------------------------
<br />> Ioannis Koletsis
<br />> National Observatory of Athens
<br />>
Institute for
Environmental Research
<br />> Lofos Koufou
<br />> 15236-Penteli
<br />>
Athens-Greece
<br />> Tel:
(+30) 210 8109140
<br />> e-mail: <a href="mailto:koletsis@meteo.noa.gr">koletsis@meteo.noa.gr</a>
<br />>
<a href="mailto:ikoletsis@gmail.com">ikoletsis@gmail.com</a>
<br />>
-----------------------------------------------------------
<br />
<br />
<br />1T(T) Leandro Machado
<br />
Ajudante da Seção de Modelagem Atmosférica
<br />
Centro de Hidrografia da Marinha
<br />
R Barão de Jaceguai, s/n
<br />
Ponta da Armação - Niterói
<br />
CEP 24.048-900
<br />
tel: (21) 2189-3282/3283 fax: (21)
2189-3295
<br />
</font>
</BODY>
</HTML>