Clean up of write_xy_header().
Labels are now not overwritten if supplied, all file.write() operations are collected together, and the X and Y-axis settings have been merged.
Authored by: bugman 2010-02-19
Parent: [r10766]
Child: [r10768]