Clear Filters
Clear Filters

Rotate a figure created with the area function

5 views (last 30 days)
I have a figure created with the area function, something like:
Y = [1, 5, 3;
3, 2, 7;
1, 5, 3;
2, 6, 1];
grid on
colormap summer
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?

Accepted Answer

Patrick Kalita
Patrick Kalita on 16 Feb 2012
Call view(90,90) after you create your area plot. More info here.

More Answers (0)


Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!