Hi

I am having reccurrent problem generating postscript files using savefig.

I am basically generating a figure with lots of small thumbnail images
(loaded with mpl pcolormesh and contour) and some overimposed text.

When I do:
savefig("myfig.eps")

it takes quite a while, and makes rather big figures (> 20 Mb). But then
I cannot load that eps file anymore with any of the software I have
tried (okular, display, gimp...). The file seems corrupted and when I
e.g. try with display it tells me:


   Error: /limitcheck in --def--
   Operand stack:
      p1c_37d   --nostringval--
   Execution stack:
      %interp_exit   .runexec2   --nostringval--   --nostringval--
 --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
  --nostringval--   false   1   %stopped_push   1878   1   3
%oparray_pop   1877   1   3   %oparray_pop   --nostringval--   1861   1
  3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
   Dictionary stack:
     --dict:1172/3371(ro)(G)--   --dict:0/20(G)--
--dict:75/200(L)--   --dict:65534/65534(L)--
   Current allocation mode is local
   Last OS error: 2
   Current file position is 14073283
   GPL Ghostscript 8.64: Unrecoverable error, exit code 1


Any help with this please!?

THANKS!

Eric
#########################################################
# Some info on my config here
#########################################################
# OS is OpenSuse 11.2 with KDE, 64b laptop

matplotlib version 0.99.1.1
verbose.level helpful
interactive is False
units is False
platform is linux2
backend WXAgg version 2.8.10.1
Python 2.6.2 (r262:71600, Oct 24 2009, 03:15:21)
IPython 0.10 -- An enhanced Interactive Python.

# And in my matplotlibrc:
usetex False
ps.papersize      : A4
ps.useafm         : False
ps.usedistiller   : None
ps.distiller.res  : 120      # dpi
ps.fonttype       : 3

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to