Graphics, Figures & TablesFile path being displayed on figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
VSL
Posts: 2
Joined: Mon Aug 02, 2010 4:56 am

File path being displayed on figures

Post by VSL »

Hi, I'm trying to get three images side by side in a sub-figure. However, LaTeX keeps inserting the image path, and it's screwing everything up!

How do I get rid of it inserting the image path which is taking up a lot of space and making the images impossible to align properly??

Code: Select all

\begin{figure}[htp]
  \begin{center}
    \subfigure[Quench Location 1]{\label{fig:edge-a}\includegraphics[scale=0.4]{quench location 1.JPG}}
    \subfigure[Quench Location 2]{\label{fig:edge-b}\includegraphics[scale=0.4]{quench location 2.JPG}} \\
    \subfigure[Quench Location 3]{\label{fig:edge-c}\includegraphics[scale=0.4]{quench location 3.JPG}}
  \end{center}
  \caption{Quench Region Images For ILC Single Cell NR1-2}
  \label{fig:edge}
\end{figure}
Here's a screen shot of what I'm talking about.
latexproblem.jpg
latexproblem.jpg (40.87 KiB) Viewed 1930 times

Edit by localghost: No external links! Attachments go onto the forum server (see Board Rules).
Last edited by VSL on Tue Aug 03, 2010 4:25 pm, edited 1 time in total.

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

File path being displayed on figures

Post by localghost »

This issue is discussed very often and a forum search certainly yields the solution (see Board Rules). Avoid special characters (blank spaces, underscores, ...) in the complete path as well as the name of the file.

As soon as the problem is solved, pleased act according to Section 3 of the Board Rules (last two paragraphs).


Best regards and welcome to the board
Thorsten
Post Reply