How to get the data index when using brush

Hi,
I have a plot, and when I manually select a data point and then export the cursor data to workspace, I can see and export the coordinates and the data index (which I assume is useful to know the order of data points).
But when i use the brush tool to select multiple data points, I can only see and copy the coordinates, but not the data index.
How can I get the data index using the brush tool?

回答 (1 件)

Ritish Sehgal
Ritish Sehgal 2023 年 1 月 24 日

0 投票

Hi,
You can refer to the MATLAB answer below which discusses about obtaining the brushed data index from a plot.
Hope it helps!!

1 件のコメント

Ali
Ali 2023 年 1 月 24 日
Not helpful really,
This error comes up:
Unrecognised function or variable 'pos'

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

製品

質問済み:

Ali
2023 年 1 月 23 日

コメント済み:

Ali
2023 年 1 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by