GUI - how to set fixed window dimensions
Show older comments
Hello all, I cannot find how to set dimensions of the GUI window. I need to have the dimension of both axes in proportion 1:1 for each case. whether for fullscreen or for floating window, otherwise my background image is flattened, as you can see on the image attached below. The first picture is with floating window, where the dimensions are pretty much the same, but when I set fullscreen, image is flattened Is there any tool how to set it?


3 Comments
Thiago Henrique Gomes Lobato
on 22 Mar 2020
Have you already tried axis square?
axis square
Miroslav Jiránek
on 22 Mar 2020
Edited: Miroslav Jiránek
on 22 Mar 2020
Thiago Henrique Gomes Lobato
on 22 Mar 2020
How are you applying it? I did a very simple example with just one plot in a GUI using axis square and the ratio remains constant independently of the windos size.
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!