Why can I not plot in app designer?
Ältere Kommentare anzeigen
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 Kommentare
Geoff Hayes
am 13 Apr. 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
am 13 Apr. 2019
Lala0099
am 13 Apr. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Develop Apps Using App Designer 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!