[gradsusr] Plot Height vs an area averaged variable
Lyndon Mark Olaguera
olagueralyndonmark429 at gmail.com
Fri Feb 6 08:51:14 EST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150206/bdf81c9d/attachment.html
More information about the gradsusr
mailing list