登 录
註 冊
论坛
微波仿真网
注册
登录论坛可查看更多信息
微波仿真论坛
>
程序
>
求教关于MATLAB的语句
发帖
回复
1755
阅读
1
回复
[
求助
]
求教关于MATLAB的语句
离线
小米
UID :55468
注册:
2010-03-23
登录:
2010-10-18
发帖:
9
等级:
旁观者
0楼
发表于: 2010-03-30 09:16:51
subplot(3,1,3),pcolor(hz');
s[*rzoA
shading flat;
wu6;.xTLl
caxis([-0.2 0.2]);
8rGgF]F
axis([1 ie 1 je]);
e]aDP1n3t
colorbar;
p>N(Typ0b
axis image;
;d$rdFA_
axis off;
`hm-.@f,9
title(['Hz at time step = 0']);
//MUeTxR
rect=get(gcf,'Position');
dFc':|
rect(1:2)=[0 0];
sdrfsrNvB-
M=moviein(nmax/4,gcf,rect);
'BxX0
0auYG><=
9RL`<,Q
请问蓝色部分的语句都是什么 ..
GA)`-*.R
zk+9'r`-D
未注册仅能浏览
部分内容
,查看
全部内容及附件
请先
登录
或
注册
共
条评分
离线
yeahchao
UID :43597
注册:
2009-10-11
登录:
2010-05-06
发帖:
10
等级:
仿真新人
1楼
发表于: 2010-04-19 23:28:01
caxis([cmin cmax]) sets the color limits to specified minimum and maximum values. Data values less than cmin or greater than cmax map to cmin and cmax, respectively. Values between cmin and cmax linearly map to the current colormap.
e*C(q~PQ
moviein
;'K5J9k
gf@:R'$:+
moviein Initialize movie frame memory.
WH} y"W
moviein is no longer needed as of MATLAB Release 11 (5.3).
!.gIHY
In previous revisions, pre-allocating a movie increased
t{kG<J/l
performance, but there is no longer a need to pre-allocate
(ZizuHC
movies. To create a movie, use something like the
3$R1ipb
following example:
+'a^f5
BU_nh+dF
for j=1:n
0OE:[pR
plot_command
reWot&;
M(j) = getframe;
59A}}.@?m
end
GxxW&y
movie(M)
dn3y\
{tZ.v@
For code that is compatible with all versions of MATLAB,
Lq^)R
including versions before Release 11 (5.3), use:
Il'fL'3
"^-a M
M = moviein(n);
L2z[
for j=1:n
eym4=k ~
plot_command
# W']6'O
M(:,j) = getframe;
]ieeP4*
end
Sm|6 %3
movie(M)
共
条评分
发帖
回复