loveblue 发表于 2011-3-23 12:15:17

matlab 图片显示不全

设置了图片尺寸后,标注和题目显示不全,有什么办法 ?

messenger 发表于 2011-3-23 18:13:41

没遇到过这种情况,能说得详细一点吗?

loveblue 发表于 2011-3-23 20:04:17

fig=figure(1);
set(fig,'Units','centimeters ','position',, 'color','w');
plot(x,y);
fig=figure(2);
set(fig,'Units','centimeters ','position',, 'color','w');
=plotyy(x,z,xx,zz,@semilogx,@semilogx);

绘几个图的时候,设置同样的尺寸,其它的都是单纵坐标,显示正常,而双纵坐标的就显示不全了,必需调大尺寸才可以显示,但是需要设置图片为统一尺寸,应该怎么设置呢,

liushuangq05 发表于 2011-3-24 07:56:39

你设置了fig的'position'属性了,自适应可能更好.当然,你可以进一步设置axis的'position'属性来获取你想要的结果.

loveblue 发表于 2011-3-24 09:26:30

谢谢,通过设置axis已经解决了,
页: [1]
查看完整版本: matlab 图片显示不全