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 ?

Answers (1)

Geoff Hayes
Geoff Hayes on 11 Apr 2016
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.

This question is closed.

Asked:

on 11 Apr 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!