Why can I not plot in app designer?
Show older comments
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 Comments
Geoff Hayes
on 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
on 13 Apr 2019
Lala0099
on 13 Apr 2019
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!