Borrar filtros
Borrar filtros

Rotate X and Y axes with a bar3 plot

6 visualizaciones (últimos 30 días)
kortas manel
kortas manel el 26 de Dic. de 2018
Comentada: Star Strider el 27 de Dic. de 2018
Hello everybody,
I want to know how to rotate X and Y axes with a bar3 plot. Suppose that my data matrix is as follows : A=[3 5 7; 7 3 9; 5 2 1].
Instead of getting what bar3(A) provides, I want to get this:
rotated bar3.png
Thanks.

Respuesta aceptada

Star Strider
Star Strider el 26 de Dic. de 2018
Try this:
A=[3 5 7; 7 3 9; 5 2 1];
figure
bar3(A)
view(32, 18)
Tweak the angles in the view (link) call to get the result you want.
  2 comentarios
kortas manel
kortas manel el 27 de Dic. de 2018
thank you
Star Strider
Star Strider el 27 de Dic. de 2018
As always, my pleasure.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Properties 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