math-optim/report/comparisonOfMeans.tmpl
surtur 1793f7bdd9
All checks were successful
continuous-integration/drone/push Build is passing
go: speed up plotting by saving plots to .pdf
2022-08-20 13:42:41 +02:00

27 lines
802 B
Go HTML Template

% Code generated by math-optim; DO NOT EDIT.
%
% This file was generated by robots at
% {{ .Timestamp }}
% source: git.dotya.ml/wanderer/math-optim/report/comparisonOfMeans.tmpl
% This file is a part of the math-optim project.
% project homepage: https://git.dotya.ml/wanderer/math-optim/
%\subsection{ {{- printf "Comparison of algo means: %s" .Title -}} }
{{ range $i, $v := .PicLists }}
\subsection{ {{- (index $v.Pics 0).Bench -}} }
\begin{figure}[h!]
\centering
{{- range $j, $u := $v.Pics }}
\begin{subfigure}{0.30\textwidth}
% using .pdf
{\includegraphics[scale=0.45]{ {{- printf "%s" $u.FilePath -}} }}
\caption{ {{- printf "\\scriptsize{%s}" $u.Caption -}} }
\end{subfigure}
\hfill
{{- end }}
\caption{ {{- printf "{Bench: %s}" $v.Bench }} }
\end{figure}
\newpage
{{ end }}