How can I join 3D points on an "axis object" by brushed sweep?

1 visualización (últimos 30 días)
Pedro Guevara
Pedro Guevara el 25 de Mayo de 2020
I have the following problem. I have a Gui that contains a 3D "Axes object". I have a few points in the "axes", and what I want is that through "brushed" I can join 2 selected points.
At the moment I only have this cogigo that only allows me to obtain the "Data" property of the last point inserted in the "axes", but I require the data of 2 selected points and the possibility of joining them. Thank you very much for your help.
function Button_unir_Callback(hObject, eventdata, handles)
% hObject handle to Button_unir (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
brush on
brushed_locs = get (handles.Grafic, 'Data' );
set(handles.text4, 'String', brushed_locs );

Respuestas (0)

Categorías

Más información sobre Graphics Object Properties en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by