Graphics, Figures & Tablesdimension too large in EPS file

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
antonio_ing
Posts: 2
Joined: Wed May 13, 2009 11:48 am

dimension too large in EPS file

Post by antonio_ing »

hi guys

i have some problems with an EPS file that everytime gave me the error

dimension too large in \includegraphics{xxx.eps}

if i export in eps by means of GIMP it is ok, so the problem is the eps file or the packages i'm using. Actually i have:
\usepackage[dvips]{epsfig}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{psfrag}
\usepackage{booktabs}
\usepackage{rotating}
here there is my image

thanks for every advise

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

dimension too large in EPS file

Post by localghost »

Build a minimal working example (MWE). Use only the graphicx package without any driver option like dvips or pdftex. They are unnecessary because the package loads the right driver on its own. Abandon the packages epsfig (obsolete) and graphics (loaded by graphicx). Attach the concerned image file to your next post.


Best regards and welcome to the board
Thorsten
antonio_ing
Posts: 2
Joined: Wed May 13, 2009 11:48 am

Re: dimension too large in EPS file

Post by antonio_ing »

Here there is the image. Other EPS files worked perfectly, but this is full of symbols. I hope you can find a way without loosing too much quality
Attachments
BL1.zip
(11.88 KiB) Downloaded 363 times
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: dimension too large in EPS file

Post by josephwright »

If you look at the EPS, you'll find that the Bounding Box is indeed enormous: no wonder TeX is in trouble. You could correct this, but it would mean hand-editing everything to bring it to a sensible scale. Either export it correctly in the first place, or perhaps use pgfplots to plot the data directly in LaTeX.
Joseph Wright
Post Reply