登 录
註 冊
论坛
微波仿真网
注册
登录论坛可查看更多信息
微波仿真论坛
>
程序
>
求教关于MATLAB的语句
发帖
回复
1756
阅读
1
回复
[
求助
]
求教关于MATLAB的语句
离线
小米
UID :55468
注册:
2010-03-23
登录:
2010-10-18
发帖:
9
等级:
旁观者
0楼
发表于: 2010-03-30 09:16:51
subplot(3,1,3),pcolor(hz');
`?)ivy>\:
shading flat;
"@IrBi6
caxis([-0.2 0.2]);
$w{!}U 2+-
axis([1 ie 1 je]);
OL|_@Fv`A
colorbar;
Z}74% 9qE
axis image;
RL0,QC)e#@
axis off;
YB{hQ<W
title(['Hz at time step = 0']);
9&e=s<6dO
rect=get(gcf,'Position');
--*Jv"/0
rect(1:2)=[0 0];
PScq-*^
M=moviein(nmax/4,gcf,rect);
It.G-(
9AQMB1D*v4
-7^?40A
请问蓝色部分的语句都是什么 ..
B;f\H,/59
CD|)TXy
未注册仅能浏览
部分内容
,查看
全部内容及附件
请先
登录
或
注册
共
条评分
离线
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.
H;#3S<
moviein
^|h5*Tb
fc}G6P;3{
moviein Initialize movie frame memory.
N>Dr z
moviein is no longer needed as of MATLAB Release 11 (5.3).
};rxpw>ms
In previous revisions, pre-allocating a movie increased
p i;,?p-
performance, but there is no longer a need to pre-allocate
K^H{B& b8
movies. To create a movie, use something like the
(}$pf6s
following example:
ccLTA
Idy{(Q
for j=1:n
v' x)AbbC
plot_command
<W,M?r+
M(j) = getframe;
v() wngn
end
\KBE+yj
movie(M)
--(e(tvf
?CaMn b8
For code that is compatible with all versions of MATLAB,
pS1f y]
including versions before Release 11 (5.3), use:
^A4bsoW
L4fM?{Ic:s
M = moviein(n);
? {@UB*
for j=1:n
\0K3TMl)J
plot_command
pN-l82]'
M(:,j) = getframe;
V^n?0^o
end
:h4Nfz(
movie(M)
共
条评分
发帖
回复