Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-19 Thread Mark Bakker
Hello Mike - Thanks for taking a look at this. Easy example: from pylab import * plot([1,2,3]) text(1,1.5,r'$\chi$') savefig('d:/temp/test.eps') There shoud now be a line and the symbol chi. Works great in the pdf file, not in the eps file. Both are attached. Strangely enough at the end of the

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-18 Thread mdroe
It looks like it may be Windows-specific. I can create .eps files with math on mpl-0.91.2, Python 2.5, gs-7.07 on Linux without problems. Someone with a Windows installation may need to look at this. Just so I can have a deeper look -- can you please attach a) the Python source of a minimal

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-18 Thread Mark Bakker
Just upgraded to Ghostview 4.9 with Ghostscript 8.61, but it still doesn't work. Does anybody see greek symbols in eps files with mpl 0.92.1? Mark On Tue, Mar 18, 2008 at 5:07 PM, Mark Bakker <[EMAIL PROTECTED]> wrote: > Hello Bernhard - > > When I set the fonttype to 42, the eps file gets much

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-18 Thread Mark Bakker
Hello Bernhard - When I set the fonttype to 42, the eps file gets much bigger, and the fonts seem included. The file contains the same section as yours: %!PS-TrueTypeFont-1.0-2.0 %%Title: Bitstream Vera Sans %%Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. %%Creator: Convert

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-18 Thread Bernhard Voigt
hi again! did you look into the eps file, do you see that the font is included, eg. i have something like that in my eps files (still in the header section): %!PS-Adobe-3.0 Resource-Font %%Title: cmmi10 %%Copyright: Copyright (C) 1994, Basil K. Malyshev. All Rights Reserved.012BaKoMa Fonts Collect

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-17 Thread Mark Bakker
Hello Bernhard and others - I tried all the options, but nothing works. Whenever I type a greek symbol in mathtext and save the figure as eps, the greek symbols don't show up. Confirmed on several windows machines. Python 2.4. mpl 0.91.2. (but it worked fine under 0.90.1). Does anybody else have

Re: [Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-14 Thread Bernhard Voigt
what are the values of pdf and ps fonttype in your rc file? try using this: ps.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType) pdf.fonttype : 3 # Output Type 3 (Type3) or Type 42 (TrueType) this includes the missing symbols into the ps/pdf file, if you choos

[Matplotlib-users] Repost: problem exporting mathtext to eps file in 0.91.2

2008-03-14 Thread Mark Bakker
Hello - I am trying this again. I recently upgraded to 0.91.2, and export of mathtext to eps files seems broken (at least with the default matplotlibrc file). Figure looks great on the screen (interactive mode). Exporting to png still works fine. But writing to eps file, the greek symbols (I tr