Align position of multiple UIAxes objects

3 次查看(过去 30 天)
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

采纳的回答

Adam Danz
Adam Danz 2019-10-2
编辑:Adam Danz 2019-10-2
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.
  10 个评论
Adam Danz
Adam Danz 2019-10-7
ytickformat() allows you to pad ticks with leading 0s. I haven't tried it on app designer but it's worth a shot.
ROL
ROL 2019-10-7
The padding is an option, but I think using a non-monospaced font is prettier. However, it might be a fix to this issue until MathWorks support the setting of InnerPosition manually.
I'll try different solutions.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by