Newbie: How to change style of tick labels in loglog plot

Hi,
I am trying to change the format of the tick labels in a loglog plot from exponential to decimal.
Right now the labels are 10^2 10 1 10^-1 10^-2
and I would like them to be 100 10 1 0.1 0.01

I tried finding easy explanations in the web with no luck. By the way I have no clue what a class is
and the word instantiation makes me crossed eyed

If any charitable soul would help me I would greatly appreciate it

gino

From: Gino Serpa [mailto:gino.serpa@…287…]
Sent: Sunday, October 31, 2010 13:52

I am trying to change the format of the tick labels in a loglog plot from exponential to decimal.
Right now the labels are 10^2 10 1 10^-1 10^-2
and I would like them to be 100 10 1 0.1 0.01

I tried finding easy explanations in the web with no luck. By the way I have no clue what a class is and the word instantiation makes me crossed eyed

I hope you don’t mind instantiating a class. See the documentation for tick formatters [1], particularly FormatStrFormatter, and the major_minor_demo1 example [2].

[1] http://matplotlib.sourceforge.net/api/ticker_api.html#tick-formatting

[2] http://matplotlib.sourceforge.net/examples/pylab_examples/major_minor_demo1.html