散布図のPlotから​選択したデータのIn​dexだけ返すには

7 views (last 30 days)
浩祐 佐々木
浩祐 佐々木 on 18 May 2022
Commented: 浩祐 佐々木 on 18 May 2022
大量のデータを散布図で描画させ,データの分布を視認した後ある一定のエリアをマウスカーソルで一括選択あるいは一点,一点複数選択するなどしてハイライトしたデータだけのIndexを一覧で返す,といったことをやりたいです.
よいアイデアがありましたらご教示いただけるととても助かります.

Accepted Answer

Hernia Baby
Hernia Baby on 18 May 2022
How to extract data points from a plot を参考にしています
まずブラシを選択します
範囲を選択します
右クリックしてエクスポートすると変数として抽出できます
  1 Comment
浩祐 佐々木
浩祐 佐々木 on 18 May 2022
早速のご回答ありがとうございます.
また有益なリンクも教えていただきありがとうございます,
この機能を少し改良してやりたいことを実行できそうです.
ありがとうございました.

Sign in to comment.

More Answers (0)

Products


Release

R2015a

Community Treasure Hunt

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

Start Hunting!