Can i make a plot interactive in Matlab?

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?

답변 (1개)

Walter Roberson
Walter Roberson 2015년 8월 5일

0 개 추천

See datacursormode()

댓글 수: 1

Thanks Walter. Just tried it. But i need to click right? Anything like this
https://plot.ly/matlab/bar-charts/
Yashvin

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2015년 8월 5일

댓글:

2015년 8월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by