<div>Hi Metias</div>
<div> </div>
<div>After adding 'set x 1' the grads does not give error message however the output image is not what I wanted. I have attached the output. Also I am attaching here the kind of output (from Liu et al., 2009) I would like to have. I want to plot pressure levels on y-axis and latitudes on x-axis with wind vectors plotted in the figure.</div>
<div> </div>
<div> </div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Rashed<br><br></div>
<div class="gmail_quote">On Fri, Dec 24, 2010 at 2:53 AM, Matias Mendez <span dir="ltr"><<a href="mailto:matias.mendezp@gmail.com">matias.mendezp@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Rashed,<br><br>Try adding a line with 'set x 1' after 'set lat 0 60'<br><br>Regards,<br>
Matias<br>
<div>
<div></div>
<div class="h5"><br><br>On Thu, Dec 23, 2010 at 9:28 AM, Rashed Mahmood <<a href="mailto:rashidcomsis@gmail.com">rashidcomsis@gmail.com</a>> wrote:<br>> Hi all<br>><br>> I am trying to draw a diagram to show vertical meridional circulation. I<br>
> wrote a simple script to draw it:<br>><br>> 'sdfopen D:\<a href="http://vcomp_month.nc/" target="_blank">vcomp_month.nc</a>'<br>><br>> 'sdfopen D:\<a href="http://ucomp_month.nc/" target="_blank">ucomp_month.nc</a>'<br>
><br>> 'set t 1'<br>><br>> 'set gxout vector'<br>><br>> 'set lev 1000 300'<br>><br>> 'set lat 0 60'<br>><br>> 'define a = ave(vcomp.1,lon=100,lon=130)'<br>
><br>> 'define b = ave(ucomp.2,lon=100,lon=130)'<br>><br>> 'd a;b'<br>><br>><br>><br>> It shows an error as follows:<br>><br>> "Operation error: Invalid dimension environment<br>
><br>> Looping dimension does not vary"<br>><br>> Does any body know where I went wrong? I am using verion 2.9 on windows xp<br>><br>> Thanks<br>><br>> Rashed<br>><br>><br>><br>><br>
><br></div></div>> _______________________________________________<br>> gradsusr mailing list<br>> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br>