- 积分
- 249
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-24
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2014-11-6 11:30:21
|
显示全部楼层
我加了标签刻度后,终端提示,Dimension size of attribute and right-hand side of assignment do not match
,请问大侠,是哪个地方出错了吗?相关代码我贴出来,以供参考,非常感谢!
res@mpMinLatF = 24.
res@mpMaxLatF = 40.
;res@mpCenterLonF = 115.
res@mpMinLonF = 104.
res@mpMaxLonF = 126.
; x tickmark
res@tmXBMode ="Explicit"
res@tmXBValues =(/105,110,115,120,125/)
res@tmXBLabels =(/"105~S~o~N~E","110~S~o~N~E","115~S~o~N~E","120~S~o~N~E"\
,"125~S~o~N~E"/)
res@tmXBMinorValues =fspan(104,126,13)
res@tmXBMinorOn =True
; y tickmark
res@tmYLMode ="Explicit"
res@tmYLValues =(/26,28,30,32,34,36,38/)
res@tmYLLabels =(/"26~S~o~N~N","28~S~o~N~N","30~S~o~N~N"\
,"32~S~o~N~N","34~S~o~N~N","36~S~o~N~N","38~S~o~N~N"/)
res@tmXBMinorValues =fspan(24,40,9)
res@tmXBMinorOn =True |
|