huazi071783 发表于 2009-4-2 23:40

请教set命令

set(2,'position',)中这是什么意思,高手指点指点,谢谢

ChaChing 发表于 2009-4-3 07:54

from matlab help:
Figure position. This property specifies the size and location on the screen of the figure window.
or
Position of axes. A four-element vector specifying a rectangle that locates the axes within the figure window. The vector is of the form:
where left and bottom define the distance from the lower-left corner of the figure window to the lower-left corner of the rectangle. width and height are the dimensions of the rectangle. All measurements are in units specified by the Units property.
When axes stretch-to-fill behavior is enabled (when DataAspectRatioMode, PlotBoxAspectRatioMode, CameraViewAngleMode are all auto), the axes are stretched to fill the Position rectangle. When stretch-to-fill is disabled, the axes are made as large as possible, while obeying all other properties, without extending outside the Position rectangle

[ 本帖最后由 ChaChing 于 2009-4-3 07:57 编辑 ]

huazi071783 发表于 2009-4-3 17:12

请教程序中的问题

=svd(P(:,:,round(f*1024/2000)+1));
            Ph=180*(abs(angle(U(:,1)))-pi/2)/pi;
            disp(Ph');
            Md=abs(U(:,1)).*sign(Ph);
            Md=Md/max(abs(Md));
            figure(3)
            fig=3;
            hold on
            whitebg(3,'k')                           
            set(3,'position',)
            plot(Md,'y','linewidth',8)
            plot(,,'w')
            axis()

Md=abs(U(:,1)).*sign(Ph);中“.*”是什么意思?
set(3,'position',)中,括号里面的各个量代表什么?
谢谢

ChaChing 发表于 2009-4-3 18:58

回复 楼主 huazi071783 的帖子

Help .*
set设定figure的位置大小!

[ 本帖最后由 ChaChing 于 2009-4-3 19:02 编辑 ]
页: [1]
查看完整版本: 请教set命令