Plotting in MatLab App Builder - no x values?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Noor Fakih
le 1 Juil 2020
Réponse apportée : Sugar Daddy
le 2 Juil 2020
I am building an app in MatLab and have a UItable and a UIAxes. I finally got it to connect and plot what is on the table and update when the values in the table change, but ONLY Y values.
How can I plot my x and y values???
plot(app.UIAxes,y2); <- this is the piece of code that plots it
plot(app.UIAxes,x2, y2); does not work
2 commentaires
Sugar Daddy
le 1 Juil 2020
insert a breakpoint at that line in code view and see if the size of x2 and y2 are same
Réponse acceptée
Plus de réponses (1)
SC
le 1 Juil 2020
From my understanding, you are trying to plot 3 axes
Try using 3d plot, visit the following links to see how 3d plot works:
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!