Multiple y axis on app designer
Ältere Kommentare anzeigen
Hello guys, I've come across a problem developing an app. I'm analyzing a fleet performance and I need to plot up to 4 variables on the same plot.
I've managed to get the plot on the live editor following other posts, my result is as shown.

However, when I replicate the same on the app designer I just get one variable on the plot (not using yyaxis for at least 2 variables). I'm using the technique of creating invisible axes.
Trying to solve this problem I've realized the following:
- If I make a simple code using the transparent axes method on the live editor I get the following, similar to the previous plot which is what I'm looking for.

- If I copy the same code on the app designer I get the same with my original problem, the line that is supposed to be on the invisible axes doesn't appear on the plot.

- If I change the parent of the axes to figure not UIFigure I do get what I'm looking for but on another window.

I've hit the wall here, the due date for this project is coming soon and I have no idea how to solve this. Perhaps it is not possible to plot 4 variables with different magnitudes on the same plot using the appdesigner (like 1800 for RPM, another variable could be 15 Amps for the electric motor, 2300 psi for pressure, 1 or 0 for logical states, etc.)
Any idea is very well welcomed.
Thank you.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Graphics Performance finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



