z = -pi:pi/5:pi;
area([sin(z);cos(z)])
title('Figure 25.11: Stacked Area Plot')