Barchart Values

3 vues (au cours des 30 derniers jours)
Jason
Jason le 21 Juil 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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by