\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
相关内容
- 如何了解我的 Linux 机器上当前使用的网络调度程序?
- 无法在 Ubuntu 16.04 LTS 中连接到宽带/PPPOE 连接
- 如何将括号 (Guillemets) 放入 LaTeX 中的一行中
- 服务器空间问题:如何合并驱动器
- 我们可以使用森林信任或 ADFS 来解决森林 A 中与森林 B 中的邮箱断开连接的 AD 用户管理成本吗
- 将 exif gps 信息从一张图像转移到另一张图像
- 超链接:链接到与超目标相关的页面
- Kubuntu 中不显示音频设置(消失);无法收听和说话
- Linux mint GParted 分区在安装过程中看不到挂载点选项
- 如何生成用于测试目的的 Windows 日志?