Code: Select all
%somehow the image doesn't show up!
\begin{figure}[h!]
\begin{center}
\includegraphics[width=7cm,natwidth=610,natheight=642]{flowchart.pdf}
\caption{G2P Flowchart}
\label{flowchart}
\end{center}
\end{figure}
Code: Select all
%somehow the image doesn't show up!
\begin{figure}[h!]
\begin{center}
\includegraphics[width=7cm,natwidth=610,natheight=642]{flowchart.pdf}
\caption{G2P Flowchart}
\label{flowchart}
\end{center}
\end{figure}
Code: Select all
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}%[h!]% Don't make your text ugly please.
\centering% JB: Never use the center environment in a figure
\includegraphics[width=7cm]{example-image.pdf}
\caption{G2P Flowchart}
\label{flowchart}
\end{figure}
\end{document}
\usepackage[dvipdfm]{color,graphicx} % for dvipdfm(x)
). By removing [dvipdfm] and change the includegraphics line to \includegraphics[width=7cm]{flowchartthen.pdf}
, the image shows up nicely.