Delta between two data cursor points in plot

21 ビュー (過去 30 日間)
Jared
Jared 2013 年 2 月 19 日
コメント済み: Lars 2021 年 11 月 2 日
Is there a way to display the x or y axis delta between 2 data cursor points in a plot?

回答 (2 件)

Sean de Wolski
Sean de Wolski 2013 年 2 月 19 日
You can do this in the 'UpdateFcn' of the datacursormode object.
  2 件のコメント
Jared
Jared 2013 年 2 月 19 日
Can you elaborate a little more on this? I'm using guide to create a GUI and I am pretty new at this still.
Sean de Wolski
Sean de Wolski 2013 年 2 月 19 日
If I get some time later this afternoon. I have a full plate right now.
doc datacursormode
Look at the examples, they should get you started.

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


Chad Smith
Chad Smith 2013 年 3 月 27 日
編集済み: Chad Smith 2013 年 3 月 27 日
Yes there is, and using the cursor's 'UpdateFcn' is the way to do it.
This page is explicit in how to accomplish this and has an example:
  1 件のコメント
Lars
Lars 2021 年 11 月 2 日
The link provided is dead.

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by