|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
0 Q0 q4 t% i3 Z( p* Yclear
2 k/ d+ W- I& w$ \+ S; ]1 [9 \ncinfo('rhum.mon.mean.nc');
8 Q' N+ r- V. n) h) X9 Iy_len=60;9 N G8 N/ K7 e$ W8 r. J
t_len=854;4 C) i6 f5 Q5 T" w$ n5 N
z_index=7
, Z" L; r( G. D! t7 f8 Z; `" w% o; |x_index=120
0 U8 v7 W8 f% | }x = ncread('rhum.mon.mean.nc','lon');%x
4 V% b. e5 e# F. Yz = ncread('rhum.mon.mean.nc', 'level');%z
. z0 Q% v" b3 H" p+ q y7 Ly = ncread('rhum.mon.mean.nc', 'lat');%y/ i0 s2 h& s+ S2 e
t = ncread('rhum.mon.mean.nc', 'time');%t
; B) O9 ^. |( e. ^/ U. krhum = ncread('rhum.mon.mean.nc', 'rhum');5 i7 ?- p3 C* t$ K! X0 M; Z1 B
figure; hold on;
. u1 r& V; }) f# \1 L6 _& pfor i = 30:y_len3 W% T* r4 |/ j% Z4 F& u$ ^
j=10:t_len
, K. y2 M# \" k1 r- Z- I. b$ q9 Sarray(i)=rhum(x_index,i,z_index,j);% V: i- V6 @% H
plot(i,j,rhum(x_index,i,z_index,j),'Marker','o')
; S: e) S5 R8 V: Y1 I2 }3 aend
% X6 u# P a( s两个坐标在变化, rhum函数本身是个变量, 请教大神,怎么用plot画出这个平面图 ?我这个Plot里面该怎么写?感谢! |
|