Files
master-thesis/src/plots/matrix_infinite.tex
2024-03-01 15:34:40 +01:00

33 lines
1.1 KiB
TeX

\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.1,
ymax=100,
ymode=log,
log origin=infty,
ymajorgrids,
ylabel={Relative Performance},
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}
\end{axis}
\end{tikzpicture}