[其他] 请教,关于matlab的图像输出尺寸

在matlab里面使用
figure(1)
plot(x,y)
就会生成一个窗口,里面是函数图像。问题是,如何设置能够使这个窗口打开的时候自动全屏(最大尺寸),在哪里可以设置?
Share |
Share

TOP

试过了,用get(0,'ScreenSize')获取你屏幕大小
用set(0, 'DefaultFigurePosition', [0 0 1280 1024])  设定figure window的默认大小

其他figure的属性设置可以看help里的
Default Settings and How to Change Them
冬冤家,我有心将你打,却一个心儿怕;要不打,只恨你这冤家羞人煞;罢罢罢,低眉红了脸儿帕,嫁了吧!

TOP

找到点
你到help里面
搜索

Positioning Figures

里面有,可以设定figure的position属性来实现最大化




Determining Screen Size


Whatever units you use, it is important to know the extent of the screen in those units. You can obtain this information from the root ScreenSize property. For example,
get(0,'ScreenSize')
ans =
    1 1 1152 900



In this case, the screen is 1152 by 900 pixels. MATLAB returns the ScreenSize in the units determined by the root Units property. For example,
set(0,'Units','normalized')



normalizes the values returned by ScreenSize.
get(0,'ScreenSize')
ans =
    0 0 1 1



Defining the figure Position in terms of the ScreenSize in normalized units makes the specification independent of variations in screen size. This is useful if you are writing an M-file that is to be used on different computer systems.
冬冤家,我有心将你打,却一个心儿怕;要不打,只恨你这冤家羞人煞;罢罢罢,低眉红了脸儿帕,嫁了吧!

TOP

必须显示,因为ppt要用,需要emf格式的,但是不再全屏下生成的图质量很差

TOP

那你还是把图直接存成文件吧,表显示了,几百张图,显示了也看不了
还不如存下来有选择的打开
冬冤家,我有心将你打,却一个心儿怕;要不打,只恨你这冤家羞人煞;罢罢罢,低眉红了脸儿帕,嫁了吧!

TOP

我是批处理,一下子有几百张图,一张一张放大要死人的

TOP

顶一下

我也不知道,每次图出来了都要把窗口拉大点。。。
冬冤家,我有心将你打,却一个心儿怕;要不打,只恨你这冤家羞人煞;罢罢罢,低眉红了脸儿帕,嫁了吧!

TOP