[gradsusr] Plot Height vs an area averaged variable

Sourabh Bal sourabhbal at gmail.com
Fri Feb 6 08:56:41 EST 2015


Dear Lyndon,

'set lon *to any fixed value first*'

regards

Sourabh

On Fri, Feb 6, 2015 at 2:51 PM, Lyndon Mark Olaguera <
olagueralyndonmark429 at gmail.com> wrote:

> Hello fellow grads users,
>
> I would like to plot a vertical profile of moisture. In this case, I would
> like to plot the Height (y axis) vs the area average of this variable and
> also averaged in time (say from t=1 to t=3).Here's my sample script. Any
> ideas how to correct this? I got an error about the dimensions.
> Thanks for the help,..
>
> open BMJ.ctl'
> 'set display color white'
> 'c'
> 'set grid off'
> 'set grads off'
> 'set z 1 20'
> 'define qave=aave(qvapor,lon=120.4,lon=121.9,lat=14.4,lat=14.8)'
> 'define test=ave(qave,t=25,t=145)'
> 'd test'
> 'set x 1'
> 'set y 1'
> 'set grads off'
> 'set cint 1'
> 'set xaxis -3 3 0.5'
> 'draw ylab height'
> 'draw xlab test'
> 'draw title Global Average of U'
> 'printim test1.png'
> 'quit'
>
> Lyndon
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Dr. Sourabh Bal
Post-Doc Fellow
Institute of Meteorology, Freie Universitat, Berlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150206/b498a22d/attachment.html 


More information about the gradsusr mailing list