If you have indicators, there are two possibilities that you have received:
- TeX (
rcParams['text.usetex'] == True). mathtext Tex, matplotlib
TeX, TeX ( \DeclareMathSizes{10}{18}{12}{8}, ).
"" , matplotlib. , ; 70% TeX .
, "", . ...
matplotlib Python, . , , .../matplotlib/mathtext.py. ... Python. (, /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mathtext.py)
1200 - :
SHRINK_FACTOR = 0.7
GROW_FACTOR = 1.0 / SHRINK_FACTOR
NUM_SIZE_LEVELS = 6
SCRIPT_SPACE = 0.2
SUBDROP = 0.3
SUP1 = 0.5
SUB1 = 0.0
DELTA = 0.18
, . , :
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0,5, 1000)
y = np.sin(x**2)
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(x, y)
ax.set_xlabel(r'$x_1$')
ax.set_ylabel(r'$sin(x_1^2)$')
ax.text(.5, -.5, r'$\rm{this\ is}_\mathrm{subscript}$', fontsize=24)
ax.text(.5, -.7, r'$\rm{this\ is}^\mathrm{superscript}$', fontsize=24)
ax.text(.5, -.9, r'$\frac{2}{1+\frac{1}{3}}$', fontsize=24)
:

:
import matplotlib
matplotlib.mathtext.SHRINK_FACTOR = 0.5
matplotlib.mathtext.GROW_FACTOR = 1 / 0.5
:

, / . , , , .