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

조회 수: 1 (최근 30일)
Pedro Guevara
Pedro Guevara 2020년 5월 25일
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 Performance에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by