matplotlib/matplotlib — pull request #706 by PhilipElson (2012-02-17 18:42:13+00:00)
Title: Contour hatching

Its Friday afternoon and I wanted to share a little extension to support contour hatching.

Here is some example code using it:

```
import matplotlib.pyplot as plt
import numpy

x = numpy.linspace(-3, 5, 50).reshape(1, -1)
y = numpy.linspace(-3, 5, 30).reshape(-1, 1)
z = numpy.cos(x) + numpy.sin(y)

plt.gray()
plt.contourf(x.flatten(), y.flatten(), z, hatches=['-', '/', '\\'])
plt.show()
```

I would love to hear your feedback, any improvements and if you have other examples (which could go in the gallery).

Thanks,