Hello,<br>
<br>
    I used &quot;set gxout fwrite&quot; to show 2D (t,z) average wind vectors as
below.  But the vertical wind field changes abruptly that is not a
right vertical wind field.  I have a feeling that the wind vectors were arranged horizontal, then
vertically -- similar to the sequence of an array in Fortran.  But even I
switched z and t, the pattern is the same style.  Could someone tell me how to show show 2D (t,z) average wind vectors?<br><br>    Thanks much,<br><br>                    Yi-Chih<br>
<br>
###############<br>
&quot;reinit&quot;
<div class="im">&quot;open Morakot_d01.ctl&quot;<br>&quot;set fwrite -sq aveuv.dat&quot;<br><br></div>
tt=17<br>
while(tt&lt;=57)<br>
&quot;set t &quot;tt&quot;&quot;<br>

zz=8<br>
while(zz&lt;=18)
<div class="im"><br>&quot;Set z &quot;zz&quot;&quot;<br><br>&quot;Set x 65 91&quot;<br>&quot;Set y 37 65&quot;<br></div>
*&quot;set x 1&quot;<br>
*&quot;Set y 1&quot;
<div class="im"><br>&quot;set gxout print&quot;<br>&quot;d aave(u,x=65,x=91,y=37,y=65)&quot;<br>
line = sublin(result,2)<br></div>
u_value=subwrd(line,1)
<div class="im"><br>say result<br>&quot;d aave(v,x=65,x=91,y=37,y=65)&quot;<br>line = sublin(result,2)<br></div>
v_value=subwrd(line,1)
<div class="im"><br><br>&quot;set gxout fwrite&quot;<br>&quot;set x 1&quot;<br>
&quot;set y 1&quot;<br>&quot;define uu=&quot;u_value&quot;&quot;<br>&quot;define vv=&quot;v_value&quot;&quot;<br>&quot;d uu&quot;<br></div>
&quot;d vv&quot;
<div class="im"><br><br>&quot;undefine uu&quot;<br>&quot;undefine vv&quot;<br>zz=zz+1<br>
endwhile<br></div>
tt=tt+2
<div class="im"><br>endwhile<br><br>&quot;disable fwrite&quot;<br>&quot;close 1&quot;<br><br>&quot;reinit&quot;<br>&quot;open aveuv.ctl&quot;<br>&quot;set x 1&quot;<br>&quot;Set y 1&quot;<br></div>
&quot;set z 1 11&quot;<br>
&quot;set t 1 21&quot;<br>

&quot;d uu;vv&quot;