Re: [Matplotlib-users] no BoundingBox

2006-06-27 Thread Nils Wagner
Nils Wagner wrote: > Hi all, > > I have generated some figures with matplotlib (savefig('test.png') > savefig(test.jpg')). > > If I try to include them via > > \includegraphics[width=8cm]{test.jpg} > > I get > > LaTeX Error: Cannot determine size of graphic in test.jpg (no BoundingBox). > > I am u

Re: [Matplotlib-users] no BoundingBox

2006-06-27 Thread Nils Wagner
PGM wrote: > Nils, > That's far more a Latex question than a matplotlib one. > Short answer: you can't fix the BBox from a JPEG, there's none ! > >From what I remmbr from my LaTeX years, you need to transform the jpeg to a > format LaTeX can understand, viz '.ps' or '.eps' > Check > http://www2.e

Re: [Matplotlib-users] no BoundingBox

2006-06-27 Thread PGM
Nils, That's far more a Latex question than a matplotlib one. Short answer: you can't fix the BBox from a JPEG, there's none ! >From what I remmbr from my LaTeX years, you need to transform the jpeg to a format LaTeX can understand, viz '.ps' or '.eps' Check http://www2.eng.cam.ac.uk/~pmg26/hpage

[Matplotlib-users] no BoundingBox

2006-06-27 Thread Nils Wagner
Hi all, I have generated some figures with matplotlib (savefig('test.png') savefig(test.jpg')). If I try to include them via \includegraphics[width=8cm]{test.jpg} I get LaTeX Error: Cannot determine size of graphic in test.jpg (no BoundingBox). I am using latest svn versions of numpy/scipy a