from matplotlib.matlab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) plot(t,s) title(r'$\alpha_i > \beta_i$', fontsize=20) text(1, -0.6, r'$\sum_{i=0}^\infty x_i$', fontsize=20) text(0.6, 0.6, r'$\cal{A}\rm{sin}(2 \omega t)$', fontsize=20) xlabel('time (s)') ylabel('volts (mV)') #savefig('mathtext_tut', dpi=50) show()