필터 지우기
필터 지우기

Delta between two data cursor points in plot

조회 수: 23 (최근 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:

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by