尝试使用以下代码绘制水平或垂直条形图
\RequirePackage{fix-cm}
\documentclass[smallextended]{svjour3}
\usepackage{tikz, pgfplots}
\definecolor{Color}{HTML}{2B83BA}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}[x={(-.5,0)}]
\foreach \l/\x/\c[count=\y] in {L1-dCache-Read-Miss/0.225701966/Color,
L1-iCache-Read-Miss/-0.066446811/Color,
L3-Cache-Read-Miss/0.036589862/Color,
L3-Cache-Write-Miss/0.010495496/Color}
{\node[left] at (0,\y) {\l};
\fill[\c] (0,\y-.4) rectangle (\x,\y+.4);
\node[right] at (\x, \y) {\x};}
\draw (-.5,0) -- (.5,0);
\foreach \x in {-.1, -.09, -.08, ..., .2}
{\draw (\x,.2) -- (\x,0) node[below] {\x};}
\draw (0,0) -- (0,4.5);
\end{tikzpicture}
\end{figure}
\end{document}