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 Center および File ExchangeGraphics Object Properties についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by