o condense slices, decrease <code>step</code>.
To space the slices further apart, increase <code>step</code>.
</p>

<!-- =========================================================== -->
<div class="subtitle">Examples</div>

<p>
Here is a simple example of how to display five 1024-point data in a stacked plot.
</p>

<pre class="matlab">
x = 1:1024;
y = rand(5,1024)-0.5;
stackplot(x,y);
</pre>

<p>
To separate the traces more, you can use a larger relative step size
</p>

<pre class="matlab">
stackplot(x,y,'no