![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240904/image.png)
Align position of multiple UIAxes objects
3 views (last 30 days)
Show older comments
Hi there,
I'm creating an app with multiple UIAxes, but I cannot figure out how to align them vertically?
The ax.InnerPosition property is read-only, and exactly shows the position of the axis without labels and ticks.
Is there a workaround to get similar behaviour as for figures?
Regards Rasmus
0 Comments
Accepted Answer
Adam Danz
on 2 Oct 2019
Edited: Adam Danz
on 2 Oct 2019
Open the app in apdesigner. Select all components that you'd like to align by holding down the ctrl button while you selected them. Then use the alignment tools at the top.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240904/image.png)
10 Comments
Adam Danz
on 7 Oct 2019
ytickformat() allows you to pad ticks with leading 0s. I haven't tried it on app designer but it's worth a shot.
More Answers (0)
See Also
Categories
Find more on Develop Apps Using App Designer 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!