- 积分
- 2473
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-3-27
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
在数值模拟试验后绘制模拟区域遇到如下问题:
怎么才能显示出lamber投影区域的边框呢?这样我就可以设置地形显示最大值为-9999,然后显示模拟区域了。
我的脚本如下:
'open D:\tu3\sk\fnl_20090714_18_00.ctl'
'open D:\tu3\kz6.ctl'
'set grads off'
'set grid off'
'set lat 5 40'
'set lon 95 140'
'set poli on' ;*画出国界省界线
'set mpdset hires' ;*设置高分辨率地图
'set xlint 5' ;*定义横坐标的标记间隔
'set ylint 5' ;*定义纵坐标的标记间隔
'set xlopts 1 4 0.15' ;*横坐标 颜色 线宽 大小
'set ylopts 1 4 0.15' ;*纵坐标 颜色 线宽 大小
'set cmax -9999'
'd HGTprs'
'set dfile 2'
'set mpdset hires'
'set lev 1000'
'set gxout shaded'
'set ccolor rainbow'
*'set cmax -9999'
'd HGT.2'
'cbarn'
'q w2xy 104 10'
x0=subwrd(result,3);*取得转换后的X坐标
y0=subwrd(result,6);*取得转换后的Y坐标
'q w2xy 131 35'
x1=subwrd(result,3);*取得转换后的X坐标
y1=subwrd(result,6);*取得转换后的Y坐标
'set line 1 1 6 '
'draw rec 'x0' 'y0' 'x1' 'y1''
'set string 1 c 5 0'
'draw string 3.5 6.6 POM'
'draw string 7.4 6.1 WRF'
'printim D:\tu3\sk\domain2.png white'
|
|