Hi matplotlib users I am trying to fit a substantial number of subplots into a single plot. I would therefore like to reduce the font size of my x- and yticks. Some of the plots contain very large numbers on the y-axis. Using the default formatting this means that the exponential will be written above the plot. When the font size of the y-axis is reduced the font size of the exponential above the plot is not reduced as shown in the example code below:
import pylab pylab.figure() x = [1, 2, 3] y = [1e13, 2e13, 3e13] pylab.plot(x,y) pylab.xticks(fontsize=6) pylab.yticks(fontsize=6) pylab.savefig('test.png') Has anyone got any suggestions on how to reduce the font size of the exponential as well or is this a bug in matplotlib? - Jesper -- Jesper Larsen, Ph.D. Scientist National Environmental Research Institute University of Aarhus Department of Marine Ecology Frederiksborgvej 399 DK-4000 Roskilde Denmark tel: +45 46301866 http://www.neri.dk ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users