Barchart Values

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 日

0 投票

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 件)

カテゴリ

タグ

質問済み:

2011 年 7 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by