I can put a picture in a table (cheer!), but I want to put a picture with a caption
in my table and it's caption will disappear. My table includes both a picture and a tikz. how can I do it?
This is code:
\begin{table}[h!]
\begin{center}
\begin{tabular}{|c|c|}
\hline
\begin{figure}[h]
\centering
\includegraphics[width=3cm]{Pics/01_01.bmp}\\\caption{My Caption $B$}
\label{Gauss1}
\end{figure}
&
\begin{tikzpicture}
\begin{axis}
[grid=major,samples=30,mark=none]
\addplot[blue,very thick,domain=-1:1]
{x^3};
\end{axis}
\end{tikzpicture}
\\ \hline
\end{tabular}
\caption{fig Analysis}
\label{tbl:mro}
\end{center}
\end{table}
\documentclass{...}
and ending with\end{document}
.\includegraphics{…}\\\captionof{figure}{A caption}
.figure
environment. Just use\includegraphics
on its own.