Rotate a figure created with the area function

6 ビュー (過去 30 日間)
Markus
Markus 2012 年 2 月 16 日
編集済み: Cedric 2013 年 10 月 15 日
Hi!
I have a figure created with the area function, something like:
Y = [1, 5, 3;
3, 2, 7;
1, 5, 3;
2, 6, 1];
area(Y)
grid on
colormap summer
set(gca,'Layer','top')
title 'Stacked Area Plot'
This creates a figure with green, light green and yellow areas oriented horizontally. I wish to create a figure that has vertical areas instead. How can I do that?

採用された回答

Patrick Kalita
Patrick Kalita 2012 年 2 月 16 日
Call view(90,90) after you create your area plot. More info here.
  1 件のコメント
Markus
Markus 2012 年 2 月 17 日
Thanks a lot!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by