I have a problem with horizontal grid lines in a graph (I am trying to overlay a 1cm x 1cm grid to my pages, and stumbled upon this in the process):
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\tikz[]{%
\draw [help lines,red,ystep=1cm,xstep=1cm] (0,0) node{A} grid +(3cm, -3cm) node{B};
}
\tikz[]{%
\draw [help lines,blue,ystep=1cm,xstep=1cm] (0,0) node{A} grid +(3cm, 3cm) node{B};
}
\tikz[]{%
\draw [help lines,green,ystep=-1cm,xstep=1cm] (0,0) node{A} grid +(3cm, -3cm) node{B};
}
\end{document}
with this result:
Notice that the green grid has a negative ystep as suggested in Grid missing horizontal lines, but still I have no lines.
So I decided that I probably do not understand how grids are generated; can someone shed some light here?