2009/11/18 Jason Heeris <jason.heeris@...149...>:
In gnuplot, I can do the following:
set format x "%.0s %cHz"
...and this will set the x-axis labels (on a semilogx style plot) to
be "10 Hz", "100 Hz", "1 kHz", "10 kHz", etc.
I ended up implementing this myself, it wasn't too hard. I've attached
the code if anyone else is interested. I don't know matplotlib that
well, so I don't know if there's much duplication of code in there.
I thought I'd CC the dev list in case others think it might be useful.
If not, sorry for the noise.
EngFormatter.py (2.21 KB)