- 积分
- 98
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-6-29
- 最后登录
- 1970-1-1

|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
用vector函数画8个点的矢量箭头
一部分代码是:
print,wvf_v_sum
print,wvf_u_sum
print,lon,lat
m=map('Geographic',limit=[30,110,40,130],label_position=0,$
LINESTYLE=1,GRID_LONGITUDE=1,GRID_LATITUDE=1,label_angle=360)
vec=vector(wvf_u_sum,wvf_v_sum,lon,lat,/overplot,head_indent=0.8,length_scale=0.7,head_angle=20)
end
运行结果:
IDL> .go
% Compiled module: $MAIN$.
193 178 187 202
202 197 237 281
258 252 252 287
285 276 262 286
112.500 115.000 117.500 120.000
32.5000 35.0000
% Program caused arithmetic error: Floating illegal operand
% Program caused arithmetic error: Floating illegal operand
% Program caused arithmetic error: Floating illegal operand
% Program caused arithmetic error: Floating illegal operand
从print结果里面看两个变量里面都没有INF或者NAN啊 为什么会有 Floating illegal operand错误呢
画的图也只能画出(115,32.5)(117.5,35)两个点 画不出8个点
|
|