Mercurial > ~darius > hgwebdir.cgi > pyinst
changeset 40:3c01bd3f2786
Tabs don't work when saving a file, or on windows so don't use them.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 28 Sep 2011 12:32:44 +0930 |
parents | c6089f1ecc75 |
children | df1b4d7e988f |
files | plotss.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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']),