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 ?

Antworten (1)

Geoff Hayes
Geoff Hayes am 11 Apr. 2016

0 Stimmen

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.

Diese Frage ist geschlossen.

Gefragt:

am 11 Apr. 2016

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by