I have error bars representing 95% confidence intervals in a logarithmic plot. Some of the error bars extend to negative numbers for which the logarithm is undefined, so pgfplots simply drops the bar completely. Is there a way to make it plot e.g. a dashed line that extends all the way down to the axis instead?
\documentclass{article}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}
\addplot [error bars/.cd, y dir=both, y explicit] coordinates {
(1, 10) +- (0, 1)
(2, 10) +- (0, 10)
(3, 10) +- (0, 1)
};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}