Automatically update plot with horizontal line based on brush

1 回表示 (過去 30 日間)
Andy
Andy 2015 年 2 月 3 日
コメント済み: Andy 2015 年 2 月 19 日
Hello,
I am trying to add a horizontal line to a plot. The axis position of this line is dependent on the data selected with the brushing tool. I have managed to do this with a button that needs to be clicked when the selection of data using the brushing tool is complete (running the function to add the line). However I would like to miss out the button stage and have it update automatically.
Is there a way to run a function based on when the selection is complete? (and run again if a new selection is done)?
Thanks
Andy
  1 件のコメント
Andy
Andy 2015 年 2 月 19 日
Does anyone have any ideas? Do you need any more information?
Cheers

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by