How do you plot a point in a GUI graph
Mostrar comentarios más antiguos
I have a Gui that i need to plot a random point in the axes but I dont know how. This is what I have 

Respuestas (1)
Image Analyst
el 10 de Nov. de 2022
plot(x, y, 'b.', 'MarkerSize', 20);
grid on;
6 comentarios
Amanda
el 10 de Nov. de 2022
Image Analyst
el 10 de Nov. de 2022
I can't run an image. I need code. Attach your .mlapp file (if using App Designer) or .m and .fig file (if using GUIDE).
Amanda
el 10 de Nov. de 2022
Image Analyst
el 10 de Nov. de 2022
Editada: Image Analyst
el 10 de Nov. de 2022
No, why are you punishing yourself? That's so tedious. You didn't even specify any callback function. Just use AppDesigner like most everyone else.
Amanda
el 11 de Nov. de 2022
Image Analyst
el 11 de Nov. de 2022
What a cruel professor. Then you need to define a callback function, and then tell uicontrol() what the callback function's name is.
Categorías
Más información sobre Annotations 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!