How do you plot a point in a GUI graph

2 ビュー (過去 30 日間)
Amanda
Amanda 2022 年 11 月 10 日
コメント済み: Image Analyst 2022 年 11 月 11 日
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
Image Analyst 2022 年 11 月 10 日
Did you try the plot function:
plot(x, y, 'b.', 'MarkerSize', 20);
grid on;
  6 件のコメント
Amanda
Amanda 2022 年 11 月 11 日
its how im suppose to do it for an assignment, sorry?
Image Analyst
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by