I inverted the vertical axis in Tikz
for convenience, and then tried to draw a simple grid:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[y=-1cm]
\draw[step=1] (0,0) grid (4,4);
\end{tikzpicture}
\end{document}
For some reason I got all the vertical lines and one horizontal line:
Dropping the [y=-1cm]
bit gives me the desired output:
Is it a bug? How can I keep the inverted vertical axis while drawing a grid?
\begin{tikzpicture}[yscale=-1] \draw[step=1] (0,0) grid (4,4); \end{tikzpicture}
. – Gonzalo Medina Oct 15 '15 at 22:29[y=-1cm]
with[yscale=-1]
works fine ? – Kpym Oct 16 '15 at 19:56