Interactive graph and data collection

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.

 Respuesta aceptada

Matt Fig
Matt Fig el 12 de Mayo de 2011

0 votos

Have you looked at the GINPUT function?

2 comentarios

Mel
Mel el 12 de Mayo de 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 el 5 de Sept. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Mel
el 12 de Mayo de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by