how do i change a scientific figures?
Show older comments

here is my plot graph from my data.
I used following code to display my data on the graph
strValues = strtrim(cellstr(num2str([X(:) Y(:)],'(%d,%d)'))); text(X,Y,strValues,'VerticalAlignment','bottom');
However, it seems the figures are printed in a long numbers..
for instance, 7.5 to be 7.50000
whereas I want it to be just 7.5
so, how do i fix this?
Cheers
Accepted Answer
More Answers (0)
Categories
Find more on Networks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!