How do you plot a point in a GUI graph
显示 更早的评论
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 

回答(1 个)
Image Analyst
2022-11-10
plot(x, y, 'b.', 'MarkerSize', 20);
grid on;
6 个评论
Amanda
2022-11-10
Image Analyst
2022-11-10
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
2022-11-10
Image Analyst
2022-11-10
编辑:Image Analyst
2022-11-10
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
2022-11-11
Image Analyst
2022-11-11
What a cruel professor. Then you need to define a callback function, and then tell uicontrol() what the callback function's name is.
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!