Delta between two data cursor points in plot

21 visualizaciones (últimos 30 días)
Jared
Jared el 19 de Feb. de 2013
Comentada: Lars el 2 de Nov. de 2021
Is there a way to display the x or y axis delta between 2 data cursor points in a plot?

Respuestas (2)

Sean de Wolski
Sean de Wolski el 19 de Feb. de 2013
You can do this in the 'UpdateFcn' of the datacursormode object.
  2 comentarios
Jared
Jared el 19 de Feb. de 2013
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 el 19 de Feb. de 2013
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.

Iniciar sesión para comentar.


Chad Smith
Chad Smith el 27 de Mzo. de 2013
Editada: Chad Smith el 27 de Mzo. de 2013
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:

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by