PLOTS fontsΒΆ
# -*-Python-*-
# Created by bgrierson at 04 Mar 2017 12:36
# Demo for how to change font sizes for matplotlib
t = linspace(0, 1, 21)
y = np.sin(2.0 * np.pi * t)
mpl.rc('xtick', labelsize=20)
mpl.rc('ytick', labelsize='x-large')
mpl.rc('axes', labelsize=20)
fig, ax = plt.subplots()
ax.plot(t, y)
ax.set_xlabel('t (fontsize=20)')
ax.set_ylabel("y (fs=20, tick fs='x-large')")