Add multiple x axis in UIAxes object with app designer

25 views (last 30 days)
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...

Accepted Answer

dpb
dpb on 12 Jul 2022
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... :(

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!