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 ?

Respuestas (1)

Geoff Hayes
Geoff Hayes el 11 de Abr. de 2016

0 votos

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.

La pregunta está cerrada.

Etiquetas

Preguntada:

el 11 de Abr. de 2016

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by