I have made a minimal working example which shows how far I am right now:
\RequirePackage{luatex85}
\documentclass[tikz]{standalone}
% Default preamble
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{groupplots}
\usepgfplotslibrary{polar}
\usepgfplotslibrary{smithchart}
\usepgfplotslibrary{statistics}
\usepgfplotslibrary{dateplot}
% Custom preamble from global variable:
\usepackage{pgfplotstable}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[group style={group size={2 by 2}}, height={4cm}, width={4cm}]
\nextgroupplot[title={1}]
\addplot+
coordinates {
(0,0)
(1,1)
(2,2)
}
;
\nextgroupplot[title={2}]
% \pgfplotstabletypeset[
% col sep=&, % specify the column separation character
% row sep=\\, % specify the row separation character
% columns/E/.style={string type} % specify the type of data in the designated column
% ]{
% A & B & C & D & E \\
% 1 & 10 & 0.1 & 1000 & 2011-01-01 \\
% 2 & 20 & 0.2 & 2000 & 2012-02-02 \\
% 3 & 30 & 0.3 & 3000 & 2013-03-03 \\
% 4 & 40 & 0.4 & 4000 & 2014-04-04 \\
% 5 & 50 & 0.5 & 5000 & 2015-05-05 \\
% }
\nextgroupplot[title={3}]
\addplot+
coordinates {
(0,2)
(1,1)
(2,1)
}
;
\nextgroupplot[title={4}]
\addplot+
coordinates {
(0,2)
(1,1)
(1,0)
}
;
\end{groupplot}
\end{tikzpicture}
\end{document}
Running this code produces the following figure:
Instead of the empty figure to the top right, ("2"), I want to insert a table. This table has already been defined in my code, but commented (with %
) - if I uncomment and run my LaTeX code again the result becomes:
Would anyone know how to stay in this workflow with \nextgroupplot
, and be able to resolve this problem, such that I can insert a table instead of a figure?
Kind regards