Filter löschen
Filter löschen

Barchart Values

1 Ansicht (letzte 30 Tage)
Jason
Jason am 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by