Interactive graph and data collection

1 view (last 30 days)
Mel
Mel on 12 May 2011
Hey,
I was wondering if there was any way to create interactive graph. For example, I would like to be able to click on the curve shown and store those points to later be exported into excel. I have tried to use an algorithm to determine onset and offset but due to the noise in the data it would be better if the user could select those and then the algorithm can analyze the data in between those two selected points.

Accepted Answer

Matt Fig
Matt Fig on 12 May 2011
Have you looked at the GINPUT function?
  2 Comments
Mel
Mel on 12 May 2011
I just quickly looked over that but it seems to be more vector based.
I am looking at the something maybe more along the lines of DataTip. Is there a more user friendly way of using data tip.
Douglas Anderson
Douglas Anderson on 5 Sep 2012
Wow! I think this is a great alternative to datatip for exporting data. It grabs the axes (I have subplots) appropriately, and assigns the points to an array. I guess the only thing I would like is to get dumped back to the Command Window after hitting "Return". Any suggestions? Thanks Matt.
Doug Anderson

Sign in to comment.

More Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!