Bar plots are reproduced inconveniently when one of the values is 0 and the axis is logarithmic. Probably, the same happens when a value is NaN or infinity.
An MWE to illustrate this problem:
~~~~~~~
\documentclass[tikz]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\usepackage{grffile}
\pgfplotsset{compat=newest}
\usetikzlibrary{plotmarks}
\usepgfplotslibrary{patchplots}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
\begin{axis}[%
scale only axis,
name=left,
xmin=0,
xmax=1,
ymode=log,
ymin=1,
ymax=100,
title={Default behavior},
]
\addplot[fill=red,draw=black,ybar interval,area legend] plot table[row sep=crcr] {%
x y\
0 13\
0.1 8\
0.2 14\
0.3 9\
0.4 7\
0.5 0\
0.6 11\
0.7 9\
0.8 8\
0.9 11\
1 11\
};
\end{axis}
\begin{axis}[%
scale only axis,
name=right,
anchor=left of north west,
at=(left.right of north east),
xmin=0,
xmax=1,
ymode=log,
ymin=1,
unbounded coords=jump,
ymax=100,
title={unbounded coords=jump},
]
\addplot[fill=blue,draw=black,ybar interval,area legend] plot table[row sep=crcr] {%
x y\
0 13\
0.1 8\
0.2 14\
0.3 9\
0.4 7\
0.5 0\
0.6 11\
0.7 9\
0.8 8\
0.9 11\
1 11\
};
\end{axis}
\begin{axis}[%
scale only axis,
name=exp,
anchor=left of north west,
at=(right.right of north east),
xmin=0,
xmax=1,
ymode=log,
ymin=1,
ymax=100,
title={expected result},
]
\addplot[fill=green,draw=black,ybar interval,area legend] plot table[row sep=crcr] {%
x y\
0 13\
0.1 8\
0.2 14\
0.3 9\
0.4 7\
0.5 0.0001\
0.6 11\
0.7 9\
0.8 8\
0.9 11\
1 11\
};
\end{axis}
\end{tikzpicture}%
\end{document}
~~~~~~

This bug has originally been reported by a matlab2tikz user at https://github.com/matlab2tikz/matlab2tikz/issues/644.
The figure is also available on the linked GitHub issue report, since SF doesn't seem to display the figure.