From: JIM M. <ji...@ji...> - 2006-07-31 15:29:36
|
> I don't think this is a problem with the postscript backend. You're rescaling > the image in your script. Try something like this: > > from pylab import * > > rc('text', usetex=True) > rc('ps', usedistiller="xpdf") > > figure(1,figsize=(6, 4)) > im=imread('image.png') > imshow(im,interpolation='nearest')#,extent=[0.98, 20, 0.01, 0.5]) > #axis('normal'); > savefig('image.eps') I just tried that and it still rescales the image, this time to 243x230. I've found I can use the figsize kwarg to control the resolution of the embedded image, but of course this means I can't have the figure the size I want it. JIM --- |