[gradsusr] one simple question???
Rashed Mahmood
rashidcomsis at gmail.com
Thu Dec 23 21:15:03 EST 2010
Hi Metias
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.
Any ideas?
Thanks
Rashed
On Fri, Dec 24, 2010 at 2:53 AM, Matias Mendez <matias.mendezp at gmail.com>wrote:
> Hi Rashed,
>
> Try adding a line with 'set x 1' after 'set lat 0 60'
>
> Regards,
> Matias
>
>
> On Thu, Dec 23, 2010 at 9:28 AM, Rashed Mahmood <rashidcomsis at gmail.com>
> wrote:
> > Hi all
> >
> > I am trying to draw a diagram to show vertical meridional circulation. I
> > wrote a simple script to draw it:
> >
> > 'sdfopen D:\vcomp_month.nc'
> >
> > 'sdfopen D:\ucomp_month.nc'
> >
> > 'set t 1'
> >
> > 'set gxout vector'
> >
> > 'set lev 1000 300'
> >
> > 'set lat 0 60'
> >
> > 'define a = ave(vcomp.1,lon=100,lon=130)'
> >
> > 'define b = ave(ucomp.2,lon=100,lon=130)'
> >
> > 'd a;b'
> >
> >
> >
> > It shows an error as follows:
> >
> > "Operation error: Invalid dimension environment
> >
> > Looping dimension does not vary"
> >
> > Does any body know where I went wrong? I am using verion 2.9 on windows
> xp
> >
> > Thanks
> >
> > Rashed
> >
> >
> >
> >
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
> >
> >
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101224/274bb533/attachment-0003.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exp1.gif
Type: image/gif
Size: 8607 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20101224/274bb533/attachment-0003.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Liu et al., 2009.JPG
Type: image/jpeg
Size: 68633 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20101224/274bb533/attachment-0003.jpe
More information about the gradsusr
mailing list