How do you plot a point in a GUI graph

2 Ansichten (letzte 30 Tage)
Amanda
Amanda am 10 Nov. 2022
Kommentiert: Image Analyst am 11 Nov. 2022
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

Antworten (1)

Image Analyst
Image Analyst am 10 Nov. 2022
Did you try the plot function:
plot(x, y, 'b.', 'MarkerSize', 20);
grid on;
  6 Kommentare
Amanda
Amanda am 11 Nov. 2022
its how im suppose to do it for an assignment, sorry?
Image Analyst
Image Analyst am 11 Nov. 2022
What a cruel professor. Then you need to define a callback function, and then tell uicontrol() what the callback function's name is.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by