% 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=1800, 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 1088\\ 1.5 965\\ 2.5 869\\ 3.5 1798\\ 4.5 1798\\ }; \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=3500, 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 31\\ 1.5 1560\\ 2.5 3098\\ 3.5 31\\ 4.5 31\\ }; \end{axis} \end{tikzpicture}%