Mlapp - How to make graph expand to the cell of a gridded layout
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1010365/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1010370/image.png)
I look forward to discussing this further with the community.
Thanks,
Euan
1 comentario
prabhat kumar sharma
el 26 de Sept. de 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.
Respuestas (0)
Ver también
Categorías
Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!