Skip to content

Instantly share code, notes, and snippets.

@okomarov
Created April 9, 2015 11:49
Show Gist options
  • Save okomarov/2f95178c0c4439c45cec to your computer and use it in GitHub Desktop.
Save okomarov/2f95178c0c4439c45cec to your computer and use it in GitHub Desktop.
R2014b - 6da0553 - ACID(36)
% This file was created by matlab2tikz.
%
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\usepackage{grffile}
\pgfplotsset{compat=newest}
\usetikzlibrary{plotmarks}
\usepgfplotslibrary{patchplots}
\usepackage{amsmath}
\newlength\figureHeight \setlength{\figureHeight}{6cm}
\newlength\figureWidth \setlength{\figureWidth}{10cm}
\begin{document}
\definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}%
%
\begin{tikzpicture}
\begin{axis}[%
width=0.95092\figureWidth,
height=\figureHeight,
at={(0\figureWidth,0\figureHeight)},
scale only axis,
xmin=0.000e+00,
xmax=1.200e+01,
ymin=0.000e+00,
ymax=1.200e+01,
axis background/.style={fill=white}
]
\addplot [color=mycolor1,only marks,mark=*,mark options={solid},forget plot]
plot [error bars/.cd, y dir = both, y explicit]
table[row sep=crcr, y error plus index=2, y error minus index=3]{%
1.000e+00 1.000e+00 2.524e-01 1.656e-01\\
2.000e+00 2.000e+00 3.938e-01 4.696e-01\\
3.000e+00 3.000e+00 6.827e-02 4.187e-01\\
4.000e+00 4.000e+00 3.087e-01 1.382e-02\\
5.000e+00 5.000e+00 4.258e-01 2.197e-01\\
6.000e+00 6.000e+00 9.052e-12 2.377e-01\\
7.000e+00 7.000e+00 4.258e-01 2.197e-01\\
8.000e+00 8.000e+00 3.087e-01 1.382e-02\\
9.000e+00 9.000e+00 6.827e-02 4.187e-01\\
1.000e+01 1.000e+01 3.938e-01 4.696e-01\\
};
\end{axis}
\end{tikzpicture}%
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment