# HG changeset patch # User Daniel O'Connor # Date 1317178964 -34200 # Node ID 3c01bd3f2786331307a0fa8626a5e95ed6cac043 # Parent c6089f1ecc75397600eb000242c650948a56222f Tabs don't work when saving a file, or on windows so don't use them. diff -r c6089f1ecc75 -r 3c01bd3f2786 plotss.py --- a/plotss.py Wed Sep 28 12:31:23 2011 +0930 +++ b/plotss.py Wed Sep 28 12:32:44 2011 +0930 @@ -14,13 +14,13 @@ pylab.title("Tag \'" + dfile['TAG'] + "\' at " + dfile['TIMESTAMP']) pylab.xlabel("Frequency (MHz)") pylab.ylabel("Level (dBm)") - annstr = "FStart\t%.2f MHz\nFStop\t%.2f MHz\nPoints\t%d" % ( + annstr = "FStart: %.2f MHz\nFStop: %.2f MHz\nPoints: %d" % ( float(dfile['FSTART']) / 1e6, float(dfile['FSTOP']) / 1e6, len(xdata)) pylab.annotate(annstr, xy=(5, -40), xycoords='axes points') - annstr = "Video BW\t%.1f kHz\nResol. BW\t%.1f kHz\nAttenuation\t%.1f dB\nRef Level\t%.1f dBm" % ( + annstr = "Video BW: %.1f kHz\nResol. BW: %.1f kHz\nAttenuation: %.1f dB\nRef Level: %.1f dBm" % ( float(dfile['VIDBW']) / 1e3, float(dfile['RESBW']) / 1e3, float(dfile['ATTEN']),