report: build only required figures

Introduces a intermediate derivation that can be imported into the
report derivation, which contains a string cmd that expands the fig
variable as needed.
This commit is contained in:
2020-11-11 19:03:02 +01:00
parent 9a7e59a076
commit 5333058741
4 changed files with 28 additions and 5 deletions

View File

@@ -14,8 +14,8 @@ time $t$ is measured, as shown in the figure \ref{fig:nbody.test}.
%
\begin{figure}[h]
\centering
\includegraphics[width=0.45\textwidth]{@fig.nbody.test@/scatter.png}
\includegraphics[width=0.45\textwidth]{@fig.nbody.test@/box.png}
\includegraphics[width=0.45\textwidth]{@fig.nbody.baseline@/scatter.png}
\includegraphics[width=0.45\textwidth]{@fig.nbody.baseline@/box.png}
\caption{Nbody times with varying block size}
\label{fig:nbody.test}
\end{figure}