My question is similar to this one: Draw arrows between nodes with tikz
I want to draw several lines with arrow heads using relative coordinates.
I expect the command
\draw (axis cs:0,0) edge[->] ++(axis direction cs:-2,0) edge[->] ++(axis direction cs:0,1);
to result in the following plot (left), but get the one on the right.
However, the coordinates are not moved from the origin, although ++ is used. MWE:
\documentclass[a4paper]{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}%
\begin{axis}[title={want},axis lines=middle,xmin=-3, xmax=1, ymin=-2, ymax=3,]
% This is the result I want
\draw[green,->] (axis cs:0,0) -- ++(axis direction cs:-2,0);
\draw[green,->] (axis cs:-2,0) -- ++(axis direction cs:0,1);
\end{axis}
\begin{axis}[xshift=7cm, axis lines=middle, title={got},xmin=-3, xmax=1, ymin=-2, ymax=3,]
% I want to use multiple relative coordinates in one command as in the following:
\draw[red] (axis cs:0,0) edge[->] ++(axis direction cs:-2,0) edge[->] ++(axis direction cs:0,1);
\end{axis}
\end{tikzpicture}%
\end{document}

