From: Joshua J. K. <jo...@ee...> - 2008-11-04 22:00:55
|
On Tuesday 04 November 2008, John Hunter said something like: > On Tue, Nov 4, 2008 at 3:13 PM, Joshua J. Kugler <jo...@ee...> wrote: > > [Trying one more time.] > > > > I've read docs, search the list archive, and tried to step through > > code. > > The docs you are looking for are > http://matplotlib.sourceforge.net/users/artists.html. > > > How can I set things like xtick.labelsize and ytick.labelsize via > > the object oriented interface? I have a graph object, and I can't > > find anywhere in the data structure for the completed graph where > > the tick label sizes are stored, nor can I find functions to set > > them. > > Here is one way to do it:: > > for label in ax.get_xticklabels() + ax.get_yticklabels(): > label.set_fontsize(12) > > But the artist tutorial above will give you a more in-depth > explanation of the various containers and methods. Sigh...how simple. Thank you very much! j -- Joshua Kugler Part-Time System Admin/Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE |