Why wont xshift
work here?
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\coordinate (Q) at (2.1cm, -1cm);
\draw[xshift = 0.5cm] (Q) -- +(0, 3cm); % no shift
\begin{scope}[xshift = 0.5cm]
\draw (Q) -- +(0, 3cm); % no shift
\end{scope}
\end{tikzpicture}
\end{document}
Both the scoped and non-scoped version produce the same image:
As we can see, the line is drawn from Q
and not shifted.
\draw (Q) ++(0.5cm,0) -- +(0,3cm);
xshift
wont or can't work in this case?