matplotlib/matplotlib — pull request #1068 by dmcdougall (2012-08-10 18:01:16+00:00)
Title: Add stairstep plotting functionality

This feature replicates Matlab's `stairs' function to produce stairstep
type plots. These plots are useful for plots in signal processing for
looking at discretely sampled data. Valid function calls are

```python
ax.stairs(y) # Make a stairstep plot of the values in y
ax.stairs(x, y) # Stairstep plot of the values in y at points in x
```

See [here](http://www.mathworks.co.uk/help/techdoc/ref/stairs.html) for the Matlab interface.

Example output:

![example output](http://i.imgur.com/BusSa.png)