Graphics, Figures & TablesMultiple EPS files scale differently

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
steenreem
Posts: 6
Joined: Tue Apr 05, 2011 1:28 pm

Multiple EPS files scale differently

Post by steenreem »

Hi,

I'm not sure whether this is a problem with latex or yEd, so excuse me if I'm posting this in the wrong place.
I've got multiple graph images in my latex document, all generated by yEd. I used the yEd export option to generate .eps files. However in the latex document the files are scaled differently, so the graphs end up looking differently : /

Does the eps format even store some information about the absolute size of an image?

I'm also using epstopdf to include the .eps files in latex, since I'm using pdflatex.

Any ideas are welcome,
Thanks,
Remy.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Multiple EPS files scale differently

Post by kaiserkarl13 »

Each EPS file stores a bounding box which tells it the native size, in points (there are 72 points in an inch) of the image. If you want to resize it, try either the scale parameter or the width/height parameters for the includegraphics command with the graphicx package.
Post Reply