\documentclass[conference]{IEEEtran}
\usepackage{tikz,pgfplots}
\definecolor{beaublue}{rgb}{.74, .83, .9}
\definecolor{electriclavender}{rgb}{.96, .73, 1.0}
\definecolor{classicrose}{rgb}{.98, .8, .91}
\usetikzlibrary{positioning,shapes,arrows,shadows,patterns}
\begin{document}
\begin{figure}
\centering
% \begin{tikzpicture}[scale =.6, transform shape]
\begin{tikzpicture}
\begin{axis}[
major x tick style = transparent,
ybar = 2*\pgflinewidth,
bar width=14pt,
ymajorgrids = true,
ylabel={Average Reliability},
symbolic x coords={RABFD, EABFD, REABFD, OLB},
xtick=data,
scaled y ticks = false,
enlarge x limits=0.25,
ymin=0,
%ymajorgrids,
%yminorgrids,
minor y tick num=5,
xlabel style={yshift=-.3cm},
ylabel style={yshift=-.3cm},
% xticklabel style={rotate=90},
%width=1*\textwidth,
%height=9cm,
%ytick={0,200,400,600,800,1000,1200,1400},
tick label style={font=\footnotesize},
legend style={at={(.5,-0.1)}, anchor=north, /tikz/every even column/.append style={column sep=.5cm}},
legend columns = -1,
%nodes near coords,
%nodes near coords align={vertical},
]
%\addplot[style = {bblue, fill=blue, mark=none, postaction={pattern=grid}}]
\addplot[style = {fill = classicrose, mark=none, postaction={pattern=dots}}, error bars/.cd]
coordinates {
(RABFD, 0.970719598) +- (.06317)
(EABFD, 0.962698536) +- (.064793)
(REABFD, 0.96500492) +- (.04826)
(OLB,0.428926) +- (.0351795)};
%coordinates {(RABFD, 0.970719598) (EABFD, 0.962698536) (REABFD, 0.96500492) (OLB,0.428926) };
%\addplot[style = {rred, fill=rred, mark=none, postaction={pattern=north east lines}}]
\addplot[style = {fill=beaublue, mark=none, postaction={pattern=north east lines}}, error bars/.cd]
coordinates {
(RABFD, 0.96096607) +-(.05316954)
(EABFD, 0.9358501) +-(.0889955)
(REABFD, 0.9614802) +-(.06466)
(OLB, 0.432586) +-(.0338931)};
%coordinates {(RABFD, 0.96096607) (EABFD, 0.9358501) (REABFD, 0.9514802) (OLB, 0.432586)};
\legend{Checkpointing, Without Checkpointing}
\end{axis}
\end{tikzpicture}
\caption{Total Reliability}
\end{figure}
\end{document}
段落在 \pgfplots@foreach@plot@coord@NEXT@WITH@ERRORRANGE@ 完成之前结束
•
pgfplots