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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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