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.


% Table float box with bottom caption, box width adjusted to content




  \caption{A figure}%
  \begin{tabular}{cc} \hline
  Author & Title \\ \hline
  Knuth & The \TeX book \\
  Lamport & \LaTeX \\ \hline
  \caption{A table}%


closed as too localized by mafp, Mensch, cmhughes, percusse, Werner Apr 2 '13 at 0:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to TeX.sx! I removed your name as it is given in the right hand corner :) I also removed the thanks- it may seem a little strange, but we like to keep this site more like "Q&A" rather than a forum :) Welcome! – cmhughes Apr 1 '13 at 20:59
  • have you seen Table and Figure side-by-side with independent captions ? – cmhughes Apr 1 '13 at 21:23
  • Yes, the above code is already been taken the link you provide me.. – sofia Apr 1 '13 at 21:27
  • i tried to use \includegraphics{plot4} instead of \rule but it didnt work :( – sofia Apr 1 '13 at 21:28
  • 1
    Steven thank you so much. Its working now :) – sofia Apr 1 '13 at 22:31

Browse other questions tagged or ask your own question.