TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change the default coordinate system of TikZ, so the Y coordinates go downwards, instead of upwards. This is because in the picture I'm trying to draw it is more natural to reference points this way.

I was trying to use negative values in the declaration, but some drawing commands don't really like it, like the grid, where horizontal lines simply don't get drawn this way:

\draw (0, 0) grid (7, 7);


non-working grids

share|improve this question
See this one: tex.stackexchange.com/questions/79161/… and also the linked tex.stackexchange.com/questions/55540/… – percusse Nov 28 '12 at 22:15
@percusse: there might be other problems with negative values (although grid was the first problem I encountered), and those links only deal with the grids. The yscale=1 however seems to have no bad side effects (at least for the cases I need) – SztupY Nov 28 '12 at 22:21
Any other command is OK with y=-1cm but the grid :) So it's an unlucky start I would say :) – percusse Nov 28 '12 at 22:24
up vote 10 down vote accepted

You could use yscale=-1:



\draw (0, 0) grid (7, 7);
\node at (7,7) {A};


enter image description here

share|improve this answer
That did the job, thanks! – SztupY Nov 28 '12 at 22:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.