matlab画图时怎么控制图片的大小?不是坐标轴的取值范围问题,是图片的尺寸

如题所述

figure(1)
width=400;%宽度,像素数
height=300;%高度
left=200;%距屏幕左下角水平距离
bottem=100;%距屏幕左下角垂直距离
set(gcf,'position',[left,bottem,width,height])
x=0:0.01:2*pi;
y=sin(x);
plot(x,y)
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答