フィルターのクリア

Rotate X and Y axes with a bar3 plot

6 ビュー (過去 30 日間)
kortas manel
kortas manel 2018 年 12 月 26 日
コメント済み: Star Strider 2018 年 12 月 27 日
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.

採用された回答

Star Strider
Star Strider 2018 年 12 月 26 日
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 件のコメント
kortas manel
kortas manel 2018 年 12 月 27 日
thank you
Star Strider
Star Strider 2018 年 12 月 27 日
As always, my pleasure.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by