Code: Select all
\begin{figure} \centering
\begin{tikzpicture}
\begin{axis}[xlabel=$x$, ylabel=$y$, xmax=4]
\addplot[mark=*] coordinates {(1,1) (2,2)};
\end{axis}
\end{tikzpicture}
\end{figure}
Code: Select all
\pgfplotstabletypeset[columns={$x$,$y$}] {data.dat};
I realize that the easiest fix would be to simply create two side-by-side figures, but is there a way to overlay things on-top of each other?