Hello
I have a problem with manually set plot labels.
The baseline of the labels is not aligned when using the PDF output.
It works fine for PS or PNG.
Attached is a script which demonstrates my problem.
Running
python test_baseline.py -dPDF
gives me a corrupted baseline for the x-labels.
I am using
py25-matplotlib @0.98.3_0+tkinter
installed using MacPorts.
The config file matplotlibrc is unchanged.
Thanks
Jochen
# test_baseline.py
from pylab import *
rcParams['font.family'] = 'serif'
rcParams['font.serif'] = 'Times'
rcParams['text.usetex'] = 'True'
x = arange(5)
y = x
h_f1 = figure(num=1,figsize=[.39*10,.39*8])
plot(x,y)
xticks(arange(5))
setp(gca(), xticklabels= ['Ideal', 'Light','Medium','Heavy','Severe'])
savefig('test_baseline')
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users