LaTeX forum ⇒ Graphics, Figures & TablesFigures appearing only as boxes , No figure displayed

Information and discussion about graphics, figures & tables in LaTeX documents.
unnikrishnanbm
Posts: 1
Joined: Sat Sep 22, 2018 8:55 pm

Figures appearing only as boxes , No figure displayed

Postby unnikrishnanbm » Sat Sep 22, 2018 9:09 pm

these are packages Im using
  1. % Set up the document
  2. \documentclass[a4paper, 11pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
  3. \usepackage{graphicx}
  4. \graphicspath{Figures/} % Location of the graphics files (set up for graphics to be in PDF format)
  5.  
  6. % Include any extra LaTeX packages required
  7. \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" style for the references in the Bibliography
  8. \usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
  9. \usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths
  10. \hypersetup{urlcolor=blue, colorlinks=true} % Colours hyperlinks in blue, but this can be distracting if there are many links.
  11. \usepackage{subfig}
  12.  
  13. ********************************************
  14.  
  15.  
  16. \begin{figure}
  17. \centering
  18. \includegraphics[width=10cm]{111}
  19. \caption{\label{fig:1}Pressure at point 1}
  20. \end{figure}
  21. \begin{figure}[h]
  22. \centering
  23. \includegraphics[scale=0.2]{432.jpg}
  24. \caption{Closed loop Control}
  25. \label{Fig 1}
  26. \end{figure}
  27. \begin{figure}[!h]
  28. \centering
  29. \includegraphics[scale=.3]{112.jpg}
  30. \caption{\label{fig:1}$v_x$ at point 1}
  31. \end{figure}


output.png
output.png (10.73 KiB) Viewed 110 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9105
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Sep 23, 2018 1:19 am

Welcome to the forum!

It seems that you used the draft option. It is not visible in the code part you posted, but that's incomplete anyway. Is this your full preamble? Look for the draft option to the class, or to the graphicx package. This option doesn't include images (for speed or saving ink) but draws only frames.

Stefan
Site admin

User avatar
Johannes_B
Site Moderator
Posts: 3854
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sun Sep 23, 2018 8:04 am

Welcome,

what Stefan said is the thing to look for. Something toggled the draft mode.

One other thing to mention: The template you are using is extremely outdated. If you just started, i recommend to use a minimal template. For more information, have a look at this.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 7 guests