> I realise that the legend class has some support for patches, but how
> does one go about using them? I can't just add a legend (I get a very
> messy legend, one for every patch in my plot).
Pass to the legend command a list of patches, and the legend will
only show those patches. Here's a quick example: