フィルターのクリア

I generate a 3D graph ,and i wants to get back points(x,y,z) from the graph ,selectively using the cursor.And i use 'ginput' it take data from the graph even if i pick at the white space of the graph.And i need to write a script to generate a vector

7 ビュー (過去 30 日間)
Screenshot (113) .png

採用された回答

Alok Nimrani
Alok Nimrani 2019 年 1 月 3 日
Hi Bharath,
If you want to get the 3D coordinates of the point where the mouse is clicked, you can make use of the CurrentPoint property of the current axes object to get the 3D coordinates of the current location of the mouse as follows:
>> get(gca, 'CurrentPoint')
For more information about the property, kindly have a look at the 'CurrentPoint' documentation here.
Hope this helps.
Regards,
Alok

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by