Why can I not plot in app designer?
Mostrar comentarios más antiguos
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 comentarios
Geoff Hayes
el 13 de Abr. de 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
el 13 de Abr. de 2019
Lala0099
el 13 de Abr. de 2019
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!