By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,551 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,551 IT Pros & Developers. It's quick & easy.

How do I change the font size for the default coordinates inmatplotlib?

P: n/a
I've searched the user manual (and this forum) but I don't see
anything that helps.
Mar 21 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Mar 20, 8:20 pm, Carl <carlwenr...@gmail.comwrote:
I've searched the user manual (and this forum) but I don't see
anything that helps.


Did you mean the font size for the ticks or for
the labels? Here's an example:

from pylab import *

x = arange(0, 2*pi, 0.01)
y = sin(2*pi*x)

rcParams.update({'xtick.labelsize': 5, 'ytick.labelsize': 10})

subplot(111)
plot(x,y)
ylabel("Vert", fontsize=15)
xlabel("Horiz", fontsize=20)
show()

--
Hope this helps,
Steven
Mar 21 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.