a 2D plot with different dimension from original one

Wang Yafei yfwang at CAMS.CMA.GOV.CN
Fri Aug 5 03:45:09 EDT 2005


Hi all,
  Does any one know how to change dimension different from original one?  I want to obtain a 2D plot. Y coordinate is time and X coordinate is a arc line on map.  Certainly I can easily define Y=T.  But how can I define X=the circle?
Here is the wrong script of the .gs file.
'reinit'
'sdfopen z50-JJA-daily79.nc'
'enable print cir-79.gmf'
'set grads off'
'set grid off'
'set mpdraw off'
'set xlab off'
'define a1=hgt(lon=125,lat=12.5)'
'define a11=aave(hgt,lon=1,360,lat=12.5,lat=12.5)'
'define a2=hgt(lon=142.5,lat=27.5)'
'define a21=aave(hgt,lon=1,360,lat=27.5,lat=27.5)'
'define a3=hgt(lon=165,lat=40)'
'define a31=aave(hgt,lon=1,360,lat=40,lat=40)'
'define a4=hgt(lon=192.5,lat=50)'
'define a41=aave(hgt,lon=1,360,lat=50,lat=50)'
'define a5=hgt(lon=222.5,lat=50)'
'define a51=aave(hgt,lon=1,360,lat=50,lat=50)'
'define a6=hgt(lon=245,lat=45)'
'define a61=aave(hgt,lon=1,360,lat=45,lat=45)'
'define b(x=1)=a1-a11'
'define b(x=2)=a2-a21'
'define b(x=3)=a3-a31'
'define b(x=4)=a4-a41'
'define b(x=5)=a5-a51'
'define b(x=6)=a6-a61'
'set cint 30'
'd b'
'draw title'
'print'
'disable print'

Thank you in advance!

Yafei Wang
Chinese Academy of Meteorological Sciences
46 Zhongguancun Southern Street, Haidian,
Beijing, 100081, China
Tel.: +86-10-68409482;Fax: +86-10-62175931
E-mail: yfwang at cams.cma.gov.cn

Powered by cams SPAM, virus-free and secure email



More information about the gradsusr mailing list