I use this to reverse the coordinate system in latex, e.g. direct y axis down. The example of replacing path in this CS
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{pgffor}
\begin{document}
\begin{tikzpicture}[y=-1cm]
\foreach \y in {0,...,3}
{
\draw[red] (0,\y) -- (5,\y) node[right,red]{\y} ;
\draw [decorate,decoration={brace,mirror,amplitude=5mm},yshift=\y{}cm]
(0,0) -- (5,0) node [black,midway,yshift=-7mm,below]{\y};
}
\end{tikzpicture}
\end{document}
As you can see, positive y coordinate runs downward, but positive shift runs upward. Why shift works in another direction than drawing? Is it a bug or shift mechanism have different system than usual CS?

