I am trying to calculate a new coordinate in relation to two other cordinates. How can I use the x component of one coordinate and the y component of the other? Thanks in advance.
Minimal example:
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\node at (0,0) (a){a};
\node at (1,1) (b){b};
\node at ($ (*xcomponent of a*-1,*ycomponent of b*+1) $)
\end{tikzpicture}
\end{document}


/getxy(variable){x component} {y component}but if there is no such command think i will use\path(a)and\pgfgetlastxy{\Xa}{\Ya}– moku89 Jul 28 '16 at 08:08