To make a figure in LaTeX is simpler than it looks and just requires a few commands.
\usepackage{graphicx}
Yes, there are others but this is the best and most widely used.
\begin{figure}[!htb]
\center{\includegraphics[width=\textwidth]
{figures/biotensor.png}}
\caption{\label{fig:my-label} My figure. An example of a cool figure}
\end{figure}
Figures in LaTeX are "floats", which means they can end up anywhere
depending on how they fit, how big they are, and some advice we give
the program. The [htb] part above advises LaTeX to put the figure
"here" or at the "top" or "bottom" of the page, with that order of
preference. The [width=] part allows you to tell LaTeX how wide to
make the figure on the page; [height=] is also legal and there some
others I always forget.
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Setting to control figure placement
% These determine the rules used to place floating objects like figures
% They are only guides, but read the manual to see the effect of each.
\renewcommand{\topfraction}{.9}
\renewcommand{\bottomfraction}{.9}
\renewcommand{\textfraction}{.1}
The larger the first two parameters and the smaller the last
one, the more a page can be filled with figures and the less
has to be text.
\begin{figure}[htb]
% \center{\includegraphics[width=\textwidth]
% {figures/biotensor.png}}
\vspace{3in}
\caption{\label{fig:my-label} My figure. An example of a cool figure}
\end{figure}
Note: LaTeX complains about missing figures, but pdflatex exits
immediately upon encountering one.
\graphicspath{{./figuresdir1/}{./figuresdir2/}{./figuresdir3/}}
Note the somewhat odd syntax of specifying the
directories--especially the closing
"/",which is required. This command is completely optional but sometimes useful when figures are not close at hand or live in a central repository somewhere on your computer.