On 4/24/07, Tommy Grav <[EMAIL PROTECTED]> wrote:
> I have a plot where the x axis ticks are given as
>
> 0.1  0.15  0.20  0.025  0.30  0.35
>
> with +3.732e2 given in the lower right of the axis.
> How can I force the ticks to have
> 373.3  373.35 ....
>

It always helps if you give us complete examples that we can run --
then we can give you back tested answers we know work.  You should be
able to tweak the axes.formatter.limits rc param.  Something like

import matplotlib
matplotlib.rcParams['axes.formatter.limits'] = -15,15

before you make your plots.

If this doesn't work, please post a complete example.

Darren, for the range he is using according to his post, I wouldn't
expect the exponential formatting to be kicking in since log10(.4) =
-.4 which is within the default range.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to