Gabriel,<br>I don&#39;t understand why your display statement reads d <b><i>const(u,0)</i></b>;v;mag(u,v)  (hopefully you can see the bold italic text for &quot;const(u,0)&quot;).  That doesn&#39;t sound right.  To get 2-D wind direction, you should say &quot;d u;v;mag(u,v)&quot;.  If you want one length to be zero, just subtract that variable from itself (e.g., &quot;d u-u;v;mag(u-u,v)&quot;).<br>
<br>Hope this helps.<br><br>Jeff<br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 8:18 AM, Gabriel - ud Carvalho <span dir="ltr">&lt;<a href="mailto:gabriel.ud@gmail.com">gabriel.ud@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello friends of grads!<br>I´m having a problem doing a wind direction 1D plot, for a single point, with time variation only.<br>
After setting the enviroment <br>set lat -42<br>set lon -32<br>set t (time) 1 13<br>I´m using this command:<br>
d const(u,0);v;mag(u,v)<br><br>The problem:<br>I´m getting a plot with the proper format, but when verifying the direction of the wind (at the point I´m setting the enviroment) in a bigger full plot (set lat -70 -30, lon -60 0, set t 1),<br>

I see that the direction is wrong! <br>the plot I get only point the vector to one side (upside) never downside...<br><br>do someone have an idea about what´s happening?<br><br>good day (or nigth!) to everybody,<br><br>Gabriel Carvalho<br>

Oceanography Student <br>
</blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>