I couldn't see any way to do legends, so I hacked together a routine that
worked for me. However, I don't know how to handle fonts properly (ie, find
out how much plotting space they really take up), so someone might want to
fix the two lines marked "#Hack" and maybe the related row spacing.

Here's a simple demo that includes the legend() function.

Attached, I hope.


legendplot.py (1.62 KB)


Charles R. Twardy Monash University, School of CSSE
ctwardy at alumni indiana edu +61(3) 9905 5823 (w) 5146 (fax)
  "eloquence ought to be banish'd out of all civil Societies as a
   thing fatal to Peace and good Manners..." ~Sprat 1667