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