Effacer les filtres
Effacer les filtres

Can i make a plot interactive in Matlab?

3 vues (au cours des 30 derniers jours)
yashvin
yashvin le 5 Août 2015
Commenté : yashvin le 5 Août 2015
Hi, Most of the plot i generate tend to be static. For example, if i place my cursor near a point, I want the value to be displayed!
A=[2 3 4 5]
bar(A)
If i place my cursor at the first bar, i want the height to be displayed for example
So how can i do this in Matlab?

Réponses (1)

Walter Roberson
Walter Roberson le 5 Août 2015
See datacursormode()
  1 commentaire
yashvin
yashvin le 5 Août 2015
Thanks Walter. Just tried it. But i need to click right? Anything like this
https://plot.ly/matlab/bar-charts/
Yashvin

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by