Set axis stretch-to-fill in app

2 views (last 30 days)
Markus
Markus on 29 Dec 2017
Hello everybody!
I used the new app creation capabilities of Matlab to create an app that calculates the energy output of PV panels based on horizontal solar radiation. Overall, the toolbox works great and creating the app was very easy. However, I have some issues when it comes to the plots that I created to visualize the results. I have a tab group in my app so the user can click through the different plots as you can see in the image below. As you can see this plot is how I want them all to look like. The axis is stretch-to-fill and uses all of the space while still showing all the axis labels.
However, with the other plots in "Power" and "Inverter" this is not the case. The axis has shrunken and does not fill out the available area.
I have tried my luck with the aspect ratios but I couldn't make it work. Does anyone else know how to enforce a "stretch-to-fill" behavior when working with the app-creator?
Thank you already!

Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!