control the size of the display

1 次查看(过去 30 天)
Asl
Asl 2013-10-23
How can a control the size of the plots displayed by plot command. At the moment I use the mnouse to enlarge the figures. Thanks

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-10-23
编辑:Azzi Abdelmalek 2013-10-23
Look at this example
t=0:0.1:10;
y=sin(t);
plot(t,y);
set(gcf,'units','inches','position',[1 1 10 5])

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by