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

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.

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2012 年 11 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by