1 | initial version |

You can use the matplotlib function `FormatStrFormatter`

. This uses old-style Python formatting. The first argument is for the x-axis, the second for the y-axis. Using `None`

gives the default setting.

```
sage: P = plot(exp(0.017*x), (x,0,2000))
sage: from matplotlib.ticker import FormatStrFormatter
sage: P.SHOW_OPTIONS['tick_formatter']=(None, FormatStrFormatter('%d'))
sage: P
```

I think it looks pretty horrible this way, and I would stick with scientific notation, as Emmanuel Charpentier said.

2 | No.2 Revision |

You can use the matplotlib function `FormatStrFormatter`

. This uses old-style Python formatting. The first argument is for the x-axis, the second for the y-axis. Using `None`

gives the default setting.

```
sage: P = plot(exp(0.017*x), (x,0,2000))
sage: from matplotlib.ticker import FormatStrFormatter
sage: P.SHOW_OPTIONS['tick_formatter']=(None, FormatStrFormatter('%d'))
sage: P
```

I think it looks pretty horrible this way, and I would stick with scientific notation, as Emmanuel Charpentier said.

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.