Prev: Plotting a network map
Next: where are images saved?
From: Rune Allnor on 28 Feb 2010 05:06 On 28 Feb, 09:27, "Bruno Luong" <b.lu...(a)fogale.findmycountry> wrote: > Rune Allnor <all...(a)tele.ntnu.no> wrote in message <77d36a59-fe5a-4fed-ac2b-c392b7da8...(a)g10g2000yqh.googlegroups.com>... > > > If you want to use latex text in your matlab figures, EPS2PDF > > will not work. > > Huh? I do it for years, and I have not noticed anything that is not working. You wouldn't see the problem unless you use latex text in the figures. Try this: text(0,0,'$\rho$','interpreter','latex') Print the figure to eps, and import it to latex using EPS2PDF. You should see a 'missing bounding box' error. If you get it to work, please post the full details of your latex setup; in particular what version of EPS2PDF you use. Rune
From: Bruno Luong on 28 Feb 2010 05:26 Rune Allnor <allnor(a)tele.ntnu.no> wrote in message <92987054-d397-43d0-a8ea-b548b4c9edc6(a)q15g2000yqj.googlegroups.com>... > On 28 Feb, 09:27, "Bruno Luong" <b.lu...(a)fogale.findmycountry> wrote: > > Rune Allnor <all...(a)tele.ntnu.no> wrote in message <77d36a59-fe5a-4fed-ac2b-c392b7da8...(a)g10g2000yqh.googlegroups.com>... > > > > > If you want to use latex text in your matlab figures, EPS2PDF > > > will not work. > > > > Huh? I do it for years, and I have not noticed anything that is not working. > > You wouldn't see the problem unless you use latex > text in the figures. > > Try this: > > text(0,0,'$\rho$','interpreter','latex') > > Print the figure to eps, and import it to latex using > EPS2PDF. You should see a 'missing bounding box' error. > > If you get it to work, please post the full details of > your latex setup; in particular what version of EPS2PDF > you use. No problem here. eps2pdf 4.0. Bruno
From: Oliver Woodford on 28 Feb 2010 16:49
"Randy " <rfodish(a)hotmail.com> wrote in message <hmbrb0$60f$1(a)fred.mathworks.com>... > How does one export a PDF image in matlab in such a way that the PDF won't have extra white space? In other words, auto-crop the PDF so only the image appears and not an entire PDF page with the image in the center. > > I'm trying to import these images professionally into latex format however it's proving difficult when the images come with extra white space. > > Conversely, I realize that I could export the images to .EPS for latex usage, however I don't know how to export EPS images into PDF format from latex. > > Any assistance would be appreciated. Thanks! Export_fig from the file exchange will crop whitespace in pdfs. |