% This file was created by matlab2tikz. % \definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}% % \begin{tikzpicture} \begin{axis}[% width=1.952in, height=3.566in, at={(0.758in,0.481in)}, 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 965\\ 1.5 1794\\ 2.5 874\\ 3.5 1087\\ 4.5 1087\\ }; \end{axis} \begin{axis}[% width=1.952in, height=3.566in, at={(3.327in,0.481in)}, scale only axis, xmin=0.3, xmax=4.7, ymin=0, ymax=3000, 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 20\\ 1.5 2905\\ 2.5 1768\\ 3.5 27\\ 4.5 27\\ }; \end{axis} \end{tikzpicture}%