Mlapp - How to make graph expand to the cell of a gridded layout
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hey all,
Attached in the link is my first ever matlab app I have been coding over the last week. The app reads in experimental data and shows it to the user in over multiple graphs.
To divide up the app workspace, I have made use of gridded layouts. I would like each graph to always expand to the cell in the gridded layout regardless of the data size.
I acknowledge that this may through the aspect ratio off on some plots but it would make the app function in a much more visually appealing way.
Right now before I plot any data I have this layout.

When I plot it changes to this which is much less attractive to look at and introduces a lot of deadspace in the app layout.

I look forward to discussing this further with the community.
Thanks,
Euan
1 Kommentar
prabhat kumar sharma
am 26 Sep. 2023
The file link is not working now , can you please provide me the udpated file link so that i can navigate to the issues, I belive it's the issue with the callback and auto resizing . but it would be really helpfull if you can share the code file link.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!