operation on GUIDE graphic.

I used Matlab to create a guide for users. i need to draw a sphere and then contour it into 2D graphic. and i have to make users can co-operate with the figure on guide. Like they pick one point in the circle, it will appear the coordination of the point. how can i do that ?

回答 (1 件)

Geoff Hayes
Geoff Hayes 2016 年 4 月 11 日

0 投票

If you want the user to interact with the drawn sphere you may want to consider using the WindowButtonDownFcn (see http://www.mathworks.com/matlabcentral/answers/261400-how-can-i-select-a-graph-by-mouse-clicking-and-delete-it for an example) or you may want to use ginput.

この質問は閉じられています。

タグ

質問済み:

2016 年 4 月 11 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by