From: LUK S. <shu...@po...> - 2003-11-08 05:46:00
|
John Hunter wrote: >>>>>>"LUK" == LUK ShunTim <shu...@po...> writes: > > > LUK> You deserve much thanks for developing such a nice package. > > Thanks! > > LUK> An afterthought: perhaps an EPS backend instead of/additional > LUK> to a PS backend would be more convenient for inclusion into > LUK> publications. I know very little about postscript programming > LUK> so I don't know what's the effort involved, though. > > Not much at all. As far as I know, the only difference between eps > and ps is a bounding box at the top of the document which gives the > figure dimensions. It shouldn't be hard to check for an extension in > the savefig command and add the bounding box if eps is requested. > > I use postscript (*.ps) directly in my LaTeX documents without > trouble, however. Are you using LaTeX? > Yes, but I think LaTeX requires the bounding box information. I can think of the quick and dirty way of calling the ps2eps script to do the conversion but it requires perl and ghostscript. Since the postscript backend is already there in matplotlib, it'd be nice to have the eps option directly. Regards, ST -- |