Re: [Pythonmac-SIG] matplotlib and postscript output

2005-09-09 Thread Samuel M. Smith
You can make the use of tex automatic by setting text.usetex to True in your rc file ### TEXT # text properties used by text.Text. See # http://matplotlib.sourceforge.net/matplotlib.text.html for more # information on text properties text.color : black text.usetex : True # use

Re: [Pythonmac-SIG] matplotlib and postscript output

2005-09-09 Thread Samuel M. Smith
I had postscript problems on matplotlib 0.83.2 with the fonts. If my plot had text in it, the ps file wouldn't convert to pdf. It had an error. Robert Kern on the matplotlib-users mailing list had a work around. That is use tex fonts. This worked for me. I installed the latest version of te

Re: [Pythonmac-SIG] matplotlib and postscript output

2005-09-08 Thread Teemu Rinne
Thanks a lot! I am now able to create ps output and can proceed with my work (although I have to deal with the fonts manually, but that's better than no postscript at all). Yes, the problem has something to do with fonts. My test script is now like this: #pstest.py import matplotlib matplotlib

Re: [Pythonmac-SIG] matplotlib and postscript output

2005-09-08 Thread John Hunter
> "Teemu" == Teemu Rinne <[EMAIL PROTECTED]> writes: Teemu> Any help/suggestions would be greatly appreciated. matplotlib emes it's freetype fonts into the postscript file. The fonts it finds are usually platform and per-computer specific. It looks to me like the errant platform has som

[Pythonmac-SIG] matplotlib and postscript output

2005-09-08 Thread Teemu Rinne
Hi, I am still not able to figure out what is wrong with the postscript output of my new matplotlib installations (pythonmac binaries). Test script: import matplotlib matplotlib.use('Agg') from pylab import * plot(arange(5),arange(5),'k-') title("some title") xlabel('some unit label') ylabel('s