Borrar filtros
Borrar filtros

Barchart Values

1 visualización (últimos 30 días)
Jason
Jason el 21 de Jul. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Bar Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by