usetex=True and savefig(eps-file)

Hello list,

I encounter some strange error output including several "Permission denied"
when using usetex=True and saveing eps-pictures. My example is quite easy and
the output is attached. (Please notice the resulting figure looks as
expected.)

import matplotlib
matplotlib.rc('text', usetex=True)
import matplotlib.pyplot as plt
plt.plot([0, 1], [0, 1])
plt.savefig("test_usetex_with_savefig_as_eps_file.eps")

I have no problems with png-files.

Can anybody confirm this behaviour?

Kind regards and thanks in advance for any hints,
Matthias

test_usetex_with_savefig_as_eps_file.out (7.46 KB)

Hello list,

may be the last message got lost among the lots of mpl-mails. So I'd like to
ask you once more for comments. Can anyone confirm this behaviour or should
it be due to some wrong configuration on my computer?

Kind regards,
Matthias

···

On Monday 16 November 2009 15:45:08 Matthias Michler wrote:

Hello list,

I encounter some strange error output including several "Permission denied"
when using usetex=True and saveing eps-pictures. My example is quite easy
and the output is attached. (Please notice the resulting figure looks as
expected.)

import matplotlib
matplotlib.rc('text', usetex=True)
import matplotlib.pyplot as plt
plt.plot([0, 1], [0, 1])
plt.savefig("test_usetex_with_savefig_as_eps_file.eps")

I have no problems with png-files.

Can anybody confirm this behaviour?

Kind regards and thanks in advance for any hints,
Matthias

I can confirm that this "works for me", so it is probably some sort of configuration difference.

Can you provide the error output? It would be useful to know what specifically it is being denied permission for.

Mike

Matthias Michler wrote:

···

Hello list,

may be the last message got lost among the lots of mpl-mails. So I'd like to ask you once more for comments. Can anyone confirm this behaviour or should it be due to some wrong configuration on my computer?

Kind regards,
Matthias

On Monday 16 November 2009 15:45:08 Matthias Michler wrote:
  

Hello list,

I encounter some strange error output including several "Permission denied"
when using usetex=True and saveing eps-pictures. My example is quite easy
and the output is attached. (Please notice the resulting figure looks as
expected.)

import matplotlib
matplotlib.rc('text', usetex=True)
import matplotlib.pyplot as plt
plt.plot([0, 1], [0, 1])
plt.savefig("test_usetex_with_savefig_as_eps_file.eps")

I have no problems with png-files.

Can anybody confirm this behaviour?

Kind regards and thanks in advance for any hints,
Matthias
    
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options
  
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

I cannot reproduce this behavior. It looks like there is some problem
with your latex environment, not matplotlib. I suggest you ensure
latex is working properly before trying to use usetex.

Darren

···

On Mon, Nov 16, 2009 at 9:45 AM, Matthias Michler <MatthiasMichler@...361...> wrote:

Hello list,

I encounter some strange error output including several "Permission denied"
when using usetex=True and saveing eps-pictures. My example is quite easy and
the output is attached. (Please notice the resulting figure looks as
expected.)

import matplotlib
matplotlib.rc('text', usetex=True)
import matplotlib.pyplot as plt
plt.plot([0, 1], [0, 1])
plt.savefig("test_usetex_with_savefig_as_eps_file.eps")

I have no problems with png-files.

Can anybody confirm this behaviour?

Kind regards and thanks in advance for any hints,

He had attached it to the original post.

···

On Wed, Dec 2, 2009 at 9:57 AM, Michael Droettboom <mdroe@...86...> wrote:

I can confirm that this "works for me", so it is probably some sort of
configuration difference.

Can you provide the error output? It would be useful to know what
specifically it is being denied permission for.

Hi Darren,

thanks for your reply. The point is that saving pdf, jpg, etc. works fine but
in case I use ps or eps I get the long error output. Therefore I expected a
problem in the ps-backend.

Kind regards,
Matthias

···

On Wednesday 02 December 2009 15:57:31 Darren Dale wrote:

On Mon, Nov 16, 2009 at 9:45 AM, Matthias Michler > > <MatthiasMichler@...361...> wrote:
> Hello list,
>
> I encounter some strange error output including several "Permission
> denied" when using usetex=True and saveing eps-pictures. My example is
> quite easy and the output is attached. (Please notice the resulting
> figure looks as expected.)
>
> import matplotlib
> matplotlib.rc('text', usetex=True)
> import matplotlib.pyplot as plt
> plt.plot([0, 1], [0, 1])
> plt.savefig("test_usetex_with_savefig_as_eps_file.eps")
>
> I have no problems with png-files.
>
> Can anybody confirm this behaviour?
>
> Kind regards and thanks in advance for any hints,

I cannot reproduce this behavior. It looks like there is some problem
with your latex environment, not matplotlib. I suggest you ensure
latex is working properly before trying to use usetex.

Darren