Set colours can now be specified in write_xy_header().
Authored by: bugman 2010-02-22
Parent: [r10802]
Child: [r10804]