On Feb 14, 2010, at 5:41 PM, Jan Strube wrote:

> Dear matplotters,
>
> I'm trying to follow
> http://matplotlib.sourceforge.net/examples/pylab_examples/ 
> ganged_plots.html
> as an example how to turn of the ticks in the case of shared x axes.
> The tick labels are gone, but unfortunately, matplotlib still plots  
> a '1e5' on the axis for which I have turned off the tick labels.
> Please see the attached file for the problem
>
> How can I also switch of the exponent?
>
> Thanks,
>     Jan


Try this:

ax.xaxis.set_major_formatter(mpl.ticker.ScalarFormatter 
(useOffset=False))

where 'ax' is the name of the top subplot.

Good luck,
Jeff


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to