First simulation plots

This commit is contained in:
2024-02-28 20:33:12 +01:00
parent b197caa00b
commit ee2405aaa9
23 changed files with 299 additions and 30 deletions

View File

@@ -0,0 +1,31 @@
\begin{tikzpicture}
\pgfplotstableread[col sep=comma]{plots/tables/gemv_100GHz.csv}\gemv
\pgfplotstableread[col sep=comma]{plots/tables/gemv_layers_100GHz.csv}\gemvlayers
\begin{axis}[
width=0.9\textwidth,
ybar=1pt,
bar width = 15pt,
ymin=0,
ymax=5,
ytick distance=1,
ymajorgrids,
ylabel={Speedup},
tick pos=left,
xtick=data,
xticklabels from table={\gemv}{level},
enlarge x limits=0.25,
legend style={
at={(current bounding box.south-|current axis.south)},
anchor=north,
legend columns=-1,
draw=none,
/tikz/every even column/.append style={column sep=0.5cm}
},
]
\addplot[fill=_blue!90] table [x expr=\coordindex, y={speedup}]{\gemv};
\addlegendentry{GEMV}
\addplot[fill=_orange!90] table [x expr=\coordindex, y={speedup}]{\gemvlayers};
\addlegendentry{DNN Layers}
\end{axis}
\end{tikzpicture}