Rotate X and Y axes with a bar3 plot
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
kortas manel
le 26 Déc 2018
Commenté : Star Strider
le 27 Déc 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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/199774/rotated%20bar3.png)
Thanks.
0 commentaires
Réponse acceptée
Star Strider
le 26 Déc 2018
Try this:
A=[3 5 7; 7 3 9; 5 2 1];
figure
bar3(A)
view(32, 18)
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Object Properties dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!