Problems with xlabel

Hi all,

I have some problems with xlabel. Sometimes the text is rotated (see
ex3.png), but for what reason ?

figure(3)
plot(real(data_eig),imag(data_eig),'b.')
xlabel(r'Real part $\nu_r$')
ylabel(r'Imaginary $\nu_i$')
savefig('ex3.png')

Nils

ex3.png

I can't reproduce this behavior, but I have found that TeX strings are sometimes not rendered correctly unless I specify a fontsize parameter: xlabel(r'Real part $\nu_r$', fontsize=16) for example.

-gary

Nils Wagner wrote:

···

Hi all,

I have some problems with xlabel. Sometimes the text is rotated (see
ex3.png), but for what reason ?

figure(3)
plot(real(data_eig),imag(data_eig),'b.')
xlabel(r'Real part $\nu_r$')
ylabel(r'Imaginary $\nu_i$')
savefig('ex3.png')

Nils

------------------------------------------------------------------------

I added your comment to the Wiki list of hangups:
http://www.scipy.org/wikis/topical_software/UsingTex

Cheers,
Alan Isaac

···

On Fri, 12 Aug 2005, Gary apparently wrote:

TeX strings are
sometimes not rendered correctly unless I specify
a fontsize parameter: xlabel(r'Real part $\nu_r$', > fontsize=16)