Rotate a figure created with the area function

4 vues (au cours des 30 derniers jours)
Markus
Markus le 16 Fév 2012
Modifié(e) : Cedric le 15 Oct 2013
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?

Réponse acceptée

Patrick Kalita
Patrick Kalita le 16 Fév 2012
Call view(90,90) after you create your area plot. More info here.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots 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!

Translated by