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

1 次查看(过去 30 天)
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 );

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by