Automatically update plot with horizontal line based on brush

조회 수: 2 (최근 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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by