Rotate X and Y axes with a bar3 plot
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
kortas manel
am 26 Dez. 2018
Kommentiert: Star Strider
am 27 Dez. 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 Kommentare
Akzeptierte Antwort
Star Strider
am 26 Dez. 2018
Try this:
A=[3 5 7; 7 3 9; 5 2 1];
figure
bar3(A)
view(32, 18)
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!