% This file was created by matlab2tikz. % \definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}% % \begin{tikzpicture} \begin{axis}[% width=2.603in, height=4.754in, at={(1.011in,0.642in)}, scale only axis, xmin=0.3, xmax=4.7, ymin=0, ymax=1200, axis background/.style={fill=white} ] \addplot[ybar interval, fill=mycolor1, fill opacity=0.6, draw=black, area legend] table[row sep=crcr] {% x y\\ 0.5 971\\ 1.5 1050\\ 2.5 1150\\ 3.5 1082\\ 4.5 1082\\ }; \end{axis} \begin{axis}[% width=2.603in, height=4.754in, at={(4.436in,0.642in)}, scale only axis, xmin=0.3, xmax=4.7, ymin=0, ymax=2000, axis background/.style={fill=white} ] \addplot[ybar interval, fill=mycolor1, fill opacity=0.6, draw=black, area legend] table[row sep=crcr] {% x y\\ 0.5 344\\ 1.5 739\\ 2.5 1869\\ 3.5 1301\\ 4.5 1301\\ }; \end{axis} \end{tikzpicture}%