Add multiple x axis in UIAxes object with app designer

25 ビュー (過去 30 日間)
Pietro Ricci
Pietro Ricci 2022 年 7 月 12 日
コメント済み: Pietro Ricci 2022 年 7 月 13 日
I'v created an UIAxes object with app designer, since I want dynamically plot some graphs changing input from the app. I need to add multiple x (top,bottom) and y (left,right) axis. I managed to add multiple y axis with yyaxis() function but no similar function found for x axis case..
Is there a way to work around? I've read some comments referring the use of UIfigure but I've some doubts about them solving my issue...

採用された回答

dpb
dpb 2022 年 7 月 12 日
After R2019b, TMW suggests using tiledlayout -- although the example isn't there but at <Graph-with-multiple-x-axes-and-y-axes>.
Prior to that, one did the same manual creation, but had to manually set the 'Positon' and other properties. If you are using an earlier release, search the local documentation for the phrase "Two X-Axes" and it should find it -- TMW keeps reorganizing the doc from one release to the next so what used to be there may be moved or even gone later on... :(
  1 件のコメント
Pietro Ricci
Pietro Ricci 2022 年 7 月 13 日
Thank you DB!! With tiledlayout everything works fine!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by