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

조회 수: 13 (최근 30일)
Jos Reulen
Jos Reulen 2012년 11월 20일
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 ?

답변 (1개)

Matt Fig
Matt Fig 2012년 11월 20일
편집: Matt Fig 2012년 11월 20일
Have you considered using the data cursor?
plot(1:10)
datacursormode on
Now click on the line then use the arrow keys.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by