Why can I not plot in app designer?
Afficher commentaires plus anciens
Hey everyone. I am trying to import three numbers into an array called A, and just simply plot them in app designer. But the graph I have does not show up anything... it just does not plot... I genuinely don`t understand why...
% Button pushed function: StartanalysisButton
function StartanalysisButtonPushed(app, event)
A = importdata('jerk_metric.txt');
app.UIAxes.YLim = [-1 1];
app.UIAxes.XLim = [-1 1];
plot(app.UIAxes, A);
end
3 commentaires
Geoff Hayes
le 13 Avr 2019
What can you tell us about A? Is it an empty matrix? If not, does the data fit within the limits that you have defined for the axes?
Lala0099
le 13 Avr 2019
Lala0099
le 13 Avr 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!