It said "
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls
I do not know how to use that effectively. can you provide a worked example here.
For example
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage{placeins}
\begin{figure}
\caption{Damage at }
\includegraphics[width=\textwidth]{fig1.pdf}
\end{figure}
\FloatBarrier
How should I place the figure within manuscript. Or do I need to bring them at the end of manuscript? (attention to elsarticle requirement). The code above is currently place figure randomly in somewhere doc. why?