登 录
註 冊
论坛
微波仿真网
注册
登录论坛可查看更多信息
微波仿真论坛
>
程序
>
求教关于MATLAB的语句
发帖
回复
1757
阅读
1
回复
[
求助
]
求教关于MATLAB的语句
离线
小米
UID :55468
注册:
2010-03-23
登录:
2010-10-18
发帖:
9
等级:
旁观者
0楼
发表于: 2010-03-30 09:16:51
subplot(3,1,3),pcolor(hz');
br`cxgZ0"
shading flat;
vq=nG]cE)
caxis([-0.2 0.2]);
b*(74 >XY
axis([1 ie 1 je]);
*> LA30R*v
colorbar;
XcLjUz ?
axis image;
m7!Mstu
axis off;
4SlEc|'7@
title(['Hz at time step = 0']);
p?PK8GL
rect=get(gcf,'Position');
vq/3a
rect(1:2)=[0 0];
[7_1GSS1
M=moviein(nmax/4,gcf,rect);
MfNsor
gM>geWB<
mQUI9
请问蓝色部分的语句都是什么 ..
gaV>WF
8#L V oR
未注册仅能浏览
部分内容
,查看
全部内容及附件
请先
登录
或
注册
共
条评分
离线
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.
',Y`\X
moviein
Fe1XczB
ka/>jV"
moviein Initialize movie frame memory.
&6e A.
moviein is no longer needed as of MATLAB Release 11 (5.3).
J4%"38l
In previous revisions, pre-allocating a movie increased
|@5G\N -
performance, but there is no longer a need to pre-allocate
ZZM;%i-B
movies. To create a movie, use something like the
m<sCRWa-
following example:
6L"b O'_5K
{X5G
for j=1:n
.cm9&&"Z
plot_command
Dy&{PeE!
M(j) = getframe;
<!=:{&d%
end
jr(|-!RVMN
movie(M)
a$K6b5`>Rs
0SR[)ma
For code that is compatible with all versions of MATLAB,
9zl-C*9vj
including versions before Release 11 (5.3), use:
%mAwK<MY`
[gGo^^aW#
M = moviein(n);
mWF\h>]|.
for j=1:n
cs9"0&JX
plot_command
1}R\L"
M(:,j) = getframe;
c+{ ar^)*
end
{ub'
movie(M)
共
条评分
发帖
回复