|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
/ L+ W# n7 g- A0 V2 }/ m
clear
5 @ _! ?) V, W, A) Bncinfo('rhum.mon.mean.nc');
; j) n7 K# ~; j. {" fy_len=60;
m4 q& k0 X& \; I: I$ @$ kt_len=854;
7 j% ?% H+ |6 @# iz_index=7, [1 R2 _6 I6 ^9 u5 ^3 s; z0 W6 t
x_index=120
" @0 a! S! c. d8 r% Rx = ncread('rhum.mon.mean.nc','lon');%x. `* I2 j& ~" G
z = ncread('rhum.mon.mean.nc', 'level');%z% y2 N& A$ V5 B# @6 a: @: ~, j8 y% i
y = ncread('rhum.mon.mean.nc', 'lat');%y3 k o9 J! x2 `0 `( k/ N) O$ r
t = ncread('rhum.mon.mean.nc', 'time');%t. [" Y; F2 C, }3 F: E: J
rhum = ncread('rhum.mon.mean.nc', 'rhum');# u* o9 h! e4 W; _3 i4 E& `3 `
figure; hold on;
( e B$ ^" j. b pfor i = 30:y_len" K# ]* p" R+ h# ?5 ?( O
j=10:t_len2 {& g$ A$ B7 Z! H- `6 e: {; P
array(i)=rhum(x_index,i,z_index,j);/ ~: y5 d4 I5 `% U6 O
plot(i,j,rhum(x_index,i,z_index,j),'Marker','o')
# t& n; i! M4 e9 v dend" F8 Q9 d- G" H* w4 U0 E3 o
两个坐标在变化, rhum函数本身是个变量, 请教大神,怎么用plot画出这个平面图 ?我这个Plot里面该怎么写?感谢! |
|