I use the following code to draw an arrow in Tikz with \pgfplotsset{compat = 1.3}:
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat = 1.3}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=10,ymin=0,ymax=10,ylabel={Some values},ylabel shift = -10pt]
\draw[->,thick] (3,3) -- (4,4);
\end{axis}
\end{tikzpicture}
\end{document}
but I get the arrow at a wrong location. I need to use at least the version 1.3 because I need the command ylabel shift to shift the label on pgfplots (as adviced in this answer).
Has anyone encountered the same problem?
axis cs:to\draw[->,thick] (650,66) -- (530,69);like\draw[->,thick] (axis cs:650,66) -- (axis cs:530,69);.– Mar 01 '19 at 12:22pgfplotsversion with recent 1.16 :-). it has beside all from 1.3 all (a lot of) improvements ... and show an example with commandylabel shift. – Zarko Mar 01 '19 at 12:26axis cs:. I use\pgfplotsset{compat = 1.3}as advised in this answer forylabel shift. – TheSunnyDay Mar 01 '19 at 12:38