I'm starting to learn pgf-plot and this is my first plot:
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar,
ymin=0, ymax=70,
width=9.5cm,
symbolic x coords={a,b,c,d,e},
xtick=data,
bar width=15pt,
axis lines*=left,
ytick={0,10,...,70},
xticklabel style={text height=1.5ex},
ymajorgrids,
]
\addplot[fill=gray!40] coordinates {
(a,54)
(b,60)
(c,62)
(d,58)
(e,51)
};
\end{axis}
\end{tikzpicture}
\end{document}
Now I want to draw horizontal lines from every yticks to the other end of the plot. I tried with xbar interval but it didn't work. How should I do it?
Edit: nevermind, found it. It was the xmajorgrids option. Now what I can't do is to remove the first line from the horizontal grid (first from above, the hline at y=70). Is it possible?

y=10? – Jake Dec 08 '13 at 19:11