How to make program window and figure centered using GUI and varargout = guidefunc(action, varargin).
이전 댓글 표시
I have been given this code to edit and make usable for an upcoming experiment. However, i am having issues loading the window fullscreen, and whenn it does load fullscreen the interactive figures are placed in the bottom left instead of the center of the screen. How can i code this to run fullscreen and have the interactive figure in the center of the screen. I have attatched an image for reference to what i am talking about. I have also attetched an image of what i beleive to be the code in control of the placement, so i would like to know what i change.
Thank you


댓글 수: 7
Rik
2019년 12월 16일
Why not set all units to normalized? Then you don't need to have that strange workaround.
Moshe Meyers
2019년 12월 16일
Rik
2019년 12월 16일
You will find that in the object properties. You didn't share the fig file generated by GUIDE, so I can't tell you. If they all are normalized already, the resizing function wouldn't do anything.
Moshe Meyers
2019년 12월 16일
편집: Rik
2019년 12월 16일
Moshe Meyers
2019년 12월 16일
Moshe Meyers
2019년 12월 17일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!