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