Is there a way to lock the cursor on the graph?

1 回表示 (過去 30 日間)
azhao
azhao 2020 年 7 月 12 日
回答済み: Walter Roberson 2020 年 7 月 12 日
Hi all,
I'm trying to manually find the peaks of a graphed data set using my cursor. However, this method doesn't seem the most precise. Is there a way to lock it on my graph? Or is there a way to transform where I clicked on the graph to the closest data point?
For reference, I'm currently using ginput to identify potential datapoints. I attatched blow what the cursor currently looks like

採用された回答

Walter Roberson
Walter Roberson 2020 年 7 月 12 日

その他の回答 (1 件)

Takumi
Takumi 2020 年 7 月 12 日
How about using the findpeaks function instead?
  1 件のコメント
azhao
azhao 2020 年 7 月 12 日
I did that on another program, but not all of the peaks are found (and some other datapoints that are not peaks were labeled as peaks). I'm trying to make it more selective after conducting the findpeaks function.

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by