extend disply window for large size images

When displaying large size images, Matlab will popup:`Warning: Image is too big to fit on screen; displaying at 100% ` and display the image in a certain portion. Since the display window does not occupy the whole screen window, is there any way to extend the size of the display window to the size of the whold screen window in order to show the large size images at 100% ?
Best regards,

답변 (2개)

Sean de Wolski
Sean de Wolski 2012년 10월 24일

0 개 추천

I must be something but can't you just maximize it?
Image Analyst
Image Analyst 2012년 10월 29일

0 개 추천

No, I don't believe so. I think the largest the figure window (containing the axes that contains your image) can be is the size of your screen. So you'll need to do things like adjust the zoom with the zoom function() if you want to see things pixel for pixel for example. You might need to use a drop down list (popup) or scroll bar to let the user adjust the zoom level.

댓글 수: 3

Yanqin
Yanqin 2012년 11월 5일
Thank you!
Do you mean " the largest the figure window (containing the axes that contains your image) can NOT be the size of your screen"? In order to " see things pixel for pixel for example", the only choice is " to use a drop down list (popup) or scroll bar to let the user adjust the zoom level?"
Best regards.
Image Analyst
Image Analyst 2012년 11월 5일
I mean that in Windows, the largest the figure window can be is the size of your screen, like I said. Try it. Make some window - any window whatsoever, it doesn't even have to be involved with MATLAB in any way. Now grab the border and try to enlarge it. You will see that it will stop letting you enlarge it once it reaches the width or height of your screen. So your screen is the largest possible area that any window can be, in MATLAB or in any application.
Jan
Jan 2012년 11월 5일
You can set the size of a figure even larger then the screen using the Windows-API, e.g. FEX: WindowAPI. But then any moving or resizing reduces the extent again.
However, a window, which is larger that the screen (or extended screen when using a multi-monitor setup), is not useful: There will not be a visible handle to move the figure and further drawback. Better zoom the image its axes, as Image Analyst has suggested. This is intuitive and can be controlled without tweaking the API of the operating system.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Data Exploration에 대해 자세히 알아보기

질문:

2012년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by