Barchart Values

8 visualizzazioni (ultimi 30 giorni)
Jason
Jason il 21 Lug 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

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by