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!