Is it possible to brush data on a plot and have it assigned to a variable immediatly after brushing instead of having to save it manually?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Calabrese
le 24 Juil 2015
Commenté : Calabrese
le 27 Juil 2015
I would like to plot data, once plotted I would be directed to brush the data I want to use. Following the brush I would like to click the enter key and have code in matlab to save what I brushed without me having to do it manually.
0 commentaires
Réponse acceptée
Cindy Solomon
le 27 Juil 2015
Modifié(e) : Cindy Solomon
le 27 Juil 2015
Hi Calabrese,
There is no in-built functionality to do this in MATLAB, but there a few potential workarounds that you could look into:
1) This function on File Exchange has a lot of interesting functionality that other users have found helpful and recommended in similar use cases.
2) Adding a function to the callback that executes once data is brushed. (This callback is called ActionPostCallback.)
I hope this helps!
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!