Barchart Values

3 views (last 30 days)
Jason
Jason on 21 Jul 2011
Is it possbile to display the y vlayes of a bar chart above the bar, and secondly, can these be made to write at vertical rather than horizontal Thanks

Accepted Answer

Gerd
Gerd on 21 Jul 2011
Hi Jason,
you can use "text" command to print text into a bargraph. You have to build the string using your y values. For the vertical oriantaion you can set the property of the text handle to
text(x,y,'String','Rotation',90);
Gerd
  2 Comments
Jason
Jason on 21 Jul 2011
sorry it does work, thanks

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!