extend disply window for large size images
1 回表示 (過去 30 日間)
古いコメントを表示
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,
0 件のコメント
回答 (2 件)
Image Analyst
2012 年 10 月 29 日
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 件のコメント
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
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.
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!