Multiple Row Xlabels in Matlab App Designer UIFigure UIAxes
9 ビュー (過去 30 日間)
古いコメントを表示
Hi there,
I am trying to figure out the simplest/cleanest way to place multiple row (in my case - two rows) xlabels into a UIFigure in Matlab App Designer.
Thanks!
0 件のコメント
回答 (1 件)
Kevin Holly
2023 年 3 月 24 日
fig = figure;
app.UIAxes = uiaxes(fig);
You can place the following line in the startup function of your app.
xlabel(app.UIAxes,{'xlabel 1';'xlabel 2'})
6 件のコメント
Adam Danz
2023 年 3 月 24 日
@Gillian Weir it looks like your tick label interpreter is set to none or latex. This solution requires a tex interpreter.
app.UIAxes.TickLabelInterpreter= 'tex';
参考
カテゴリ
Help Center および File Exchange で Develop uifigure-Based Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!