From: Nils W. <nw...@me...> - 2006-03-08 10:07:11
|
Hi all, How do I use \frac{a}{b} within labels ? from pylab import * from scipy import * x = linspace(0,pi,20) plot(x,sin(x)) title(r'\frac{\Theta}{2\pi}') xlabel(r'\frac{\Theta}{2\pi}') # The output is not o.k. show() Am I missing something or is it a bug ? matplotlib data path /usr/lib64/python2.4/site-packages/matplotlib/mpl-data $HOME=/home/nwagner CONFIGDIR=/home/nwagner/.matplotlib ghostscript-8.15 found. ghostscript-8.16 or later is recommended for use with the text.usetex option. loaded rc file /home/nwagner/.matplotlib/matplotlibrc matplotlib version 0.87.1 verbose.level helpful interactive is False platform is linux2 numerix numpy 0.9.6.2206 font search path ['/usr/lib64/python2.4/site-packages/matplotlib/mpl-data'] loaded ttfcache file /home/nwagner/.matplotlib/ttffont.cache backend GTKAgg version 2.8.0 Nils |