I tried to insert my plot in many ways in this code but did not work. Can someone kindly please tell me where can I insert my plot below code; especially I dont understand whats \rule{} is also.
\documentclass{article}
\usepackage{floatrow}
% Table float box with bottom caption, box width adjusted to content
\newfloatcommand{capbtabbox}{table}[][\FBwidth]
\usepackage{blindtext}
\begin{document}
\blindtext
\begin{figure}
\begin{floatrow}
\ffigbox{%
\rule{3cm}{3cm}%
}{%
\caption{A figure}%
}
\capbtabbox{%
\begin{tabular}{cc} \hline
Author & Title \\ \hline
Knuth & The \TeX book \\
Lamport & \LaTeX \\ \hline
\end{tabular}
}{%
\caption{A table}%
}
\end{floatrow}
\end{figure}
\end{document}
plot4in the appropriate directory? – cmhughes Apr 01 '13 at 21:35\rule, it is a command to make a black rectangle. It is used to create a figure sized box, when one doesn't have an actual figure handy for a piece of sample code. In your actual code, you would replace the\rule{}{}with something like\includegraphics[scale=x.x]{graphic-filename}– Steven B. Segletes Apr 01 '13 at 21:47