|
From: Michael C. <mc...@ca...> - 2009-12-07 00:09:25
|
Hi, Sorry for taking a few days to reply. Basic system information $ uname -a Linux shc-b 2.6.18-128.1.10.el5 #1 SMP Wed Apr 29 13:53:08 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux $ head -n1 /etc/issue Red Hat Enterprise Linux Server release 5.3 (Tikanga) $ matplotlibrc attached. plot_test.py attached also. $ python Python 2.6.2 (r262:71600, Sep 16 2009, 13:37:23) [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib >>> print matplotlib.__version__ 0.99.0 >>> finally, failed output eps also attached. The plot generates a set of horizontal and vertical lines to make a grid, and then applies the Mollweide projection to give latitude and longitude lines. For some reason, not running the projection (i.e. lines 43-51 in the python script) gives a file that outputs as a nice eps. If you do keep the Mollweide projection in, you still generate a lovely plot, but the savefig to .eps fails. Thanks, Michael John Hunter wrote: > On Wed, Dec 2, 2009 at 3:20 PM, Michael Cohen <mc...@ca...> wrote: >> Hi, >> To add more information. I am trying this on two separate installs of >> matplotlib 0.99, both using TkAgg as the backend. One produces an >> unreadable file, the other does produce a readable EPS. However, even >> in this case, zooming in on the image shows that what is being saved is >> bitmapped, not a vector graphic. > > Could you please post some sample code and the EPS it generates, as > well as platform information and any specific rc settings you may > have? > > Thanks, > JDH |