| 1 | initial version |
This is just Shashank's answer partly converted to Sage.
sage: P = plot(sin(0.1*pi*x)*e^(-.01*x),(x,0,100))
sage: from matplotlib.ticker import FormatStrFormatter
sage: xFormatter = FormatStrFormatter('%d')
sage: yFormatter = FormatStrFormatter('%.2f')
sage: P.show(tick_formatter=[xFormatter,yFormatter])
It's definitely possible to format things quite a bit from within Sage if you want to. See the show() documentation.
However, this probably doesn't answer the original question about matrices of floats.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.