Why can I not plot in app designer?
古いコメントを表示
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 件のコメント
Geoff Hayes
2019 年 4 月 13 日
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
2019 年 4 月 13 日
Lala0099
2019 年 4 月 13 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!