move a marker from one position to another in a curve plotted in a graph

13 visualizaciones (últimos 30 días)
using the ginput function i can mark a curve plotted in a graph at a specific position. however, sometimes i would like to move the position of the marker to another position in the curve. how can i do this ?

Respuestas (1)

Matt Fig
Matt Fig el 20 de Nov. de 2012
Editada: Matt Fig el 20 de Nov. de 2012
Have you considered using the data cursor?
plot(1:10)
datacursormode on
Now click on the line then use the arrow keys.

Categorías

Más información sobre Line Plots 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