Filter löschen
Filter löschen

Align position of multiple UIAxes objects

3 Ansichten (letzte 30 Tage)
ROL
ROL am 2 Okt. 2019
Bearbeitet: Adam Danz am 7 Okt. 2019
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

Akzeptierte Antwort

Adam Danz
Adam Danz am 2 Okt. 2019
Bearbeitet: Adam Danz am 2 Okt. 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.
  10 Kommentare
Adam Danz
Adam Danz am 7 Okt. 2019
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 am 7 Okt. 2019
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer 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!

Translated by