Friday, 30 August 2013

Displaying point values on Matlab figure

Displaying point values on Matlab figure

I have a variable with 10 points in it. Say X. When I use plot(X,'.-r') it
plots the 10 points using '-' connection and the points are displayed
using '.'. I would like to see the values of the points on the figure.
When I use DataCursor I am able to just see the value of one point at a
time. I would like to have something which would allow me to see all the
values of the points in the figure. Can some one please help. I tried
using text annotation which gave me nothing. probably I didn't give proper
syntax Thanks

No comments:

Post a Comment