How can I draw a graph using a button?
Mostrar comentarios más antiguos
Hello everyone, I want to draw a graph when I press the button, but a new plot is created. I want to plot the axeste next to the button. How can I do it?

% Button pushed function: Button
function ButtonPushed(app, event)
X=1:5;
Y=1:5;
plot(X,Y)
end
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Migrate GUIDE Apps 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!