Barchart Values

1 次查看(过去 30 天)
Jason
Jason 2011-7-21
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

采纳的回答

Gerd
Gerd 2011-7-21
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 个评论
Jason
Jason 2011-7-21
Its not quite there, I plot my bar chart inside a GUI axes component called axes1.
Jason
Jason 2011-7-21
sorry it does work, thanks

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by