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
Graphics, Figures & Tables ⇒ dimension too large in EPS file
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
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
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 2
- Joined: Wed May 13, 2009 11:48 am
Re: dimension too large in EPS file
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
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: dimension too large in EPS file
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