On Wed, 21 Apr 2004, John Hunter wrote:
> >>>>> "Yann" == Yann Le Du <yan...@no...> writes:
>
> Yann> puts the text horizontally instead of vertically.
>
> See http://matplotlib.sourceforge.net/matplotlib.mathtext.html for a
> list of known issues with mathtext. Short answer, it's on the list of
> things to do.
Ok, thanks
> Yann> don't get any effect using fontsize :
>
> Fixed in matplotlib-0.53. What, you mean you haven't upgraded yet?
> :-)
I have indeed ! Always keen to upgrade fine software !
And here's what I found out (with probable solution at the end). I run
python shell, then I do :
from matplotlib.matlab import *
plot([1,2,3,4])
xlabel(r'$\alpha > \beta$',fontsize=5)
show()
and then this figure pops up, and it works fine. Now I close the window
and I do :
xlabel(r'$\alpha > \beta$',fontsize=20)
show()
but nothing changes in the size of the x label.
Now if I change the size AND the content, then it works fine :
xlabel(r'$\alpha$',fontsize=20)
show()
This gives me a size 20 alpha.
So it looks as though you check for change in content, but not for change
in size.
YLD
|