On 1/21/2009 4:52 PM ramirodsl apparently wrote: > Hi, > > I'm experiencing a weird problem with the bounding box of my eps files. > I have a script that produces my plots and saves them as eps files. > For some reason the x coordinate of the bounding box is negative. > > The bounding box of the files are: %%BoundingBox: -54 36 666 756 > > Then, when I try to print or show these files with gv they are clipped at > the left side.
That seems just right: they should be clipped at the page boundary. This shoud *not* affect their inclusion in a document, however, for correctly behaving applications. Perhaps this is useful: http://osdir.com/ml/python.pyx.users/2006-03/msg00022.html > I found the translate command on the EPS file format specification, so I > added: 54 0 translate to the eps header. > Everything looked ok until I tried to include these files in a tex/ps > document. Now they get clipped on the right side! You would need to change the bounding box too! I think eps2eps will do all this for you if you really want to. Alan Isaac ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users