Since this question is maybe overloaded and contains too much unnecessary details, I tried to reformulate it into a more condensed and comprehensive form.
The problem is that I want to access the quiver plot coordinates (x,y,u,v) in an own piece of code, in quiver/after arrow/.code, oder alternatively in quiver/before arrow/.code. The following example does not make sense completely, since one could easily just change u and v vales. However, the problem is exactly the same as in my other question.
In the code, I have added a comment where I try to access the coordinates and where different non-working possibilites are commented out.
\documentclass[]{standalone}
\usepackage{tikz,pgfplots}
\usetikzlibrary{calc} \pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[axis equal image,enlargelimits=false,clip=false]
% Reference plot
\addplot[
quiver={
u=x,v=y,
},
->,
samples=5,domain=0:1
] {x*x};
% own plot
\addplot[
quiver={
u=x,v=y,
% draw some other (e.g. orthogonal) arrows here!
after arrow/.code={
\draw[blue,dashed,->] (0.5,0.25) -- ($ (0.5,0.25) + (0.25,-0.5)$);
\draw[blue,dashed,->] (1,1) -- ($ (1,1) + (1,-1)$);
%
%
% Things which are not working
%
%
%\draw[blue,dashed,->] (x,y) -- ($ (x,y) + (v,-u)$);
%\draw[blue,dashed,->] (\x,\y) -- ($ (\x,\y) + (\v,-\u)$);
%\draw[blue,dashed,->] (\pgfplots@current@point@x,\pgfplots@current@point@y) -- ($ (\pgfplots@current@point@x,\pgfplots@current@point@y) + (\pgfplots@quiver@v,-\pgfplots@quiver@u)$);
};
},
draw=none,
samples=5,domain=0:1
] {x*x};
\end{axis}
\end{tikzpicture}
\end{document}


\pgf@xinbefore arrow/.codeorafter arrow/.codeor somehow else? – crateane Apr 22 '17 at 17:30\pgfplotsplothandlerquiver@visand\pgfplotsplothandlerquiver@vis@path. But they are really tough. I guess you can subtractxfromu(It is\pgfplotsplothandlersurveypoint@quiverthat makes u-v absolute. Maybe you can modify it)... And yes, because quiver is merely a kind of point-meta. – Symbol 1 Apr 22 '17 at 17:34addplot, I could mis-use thezcoordinate to store the rotation angle I need for the arrows, and use the point-meta value for the scaling and coloring of my arrows... I'll try to look into that. – crateane Apr 22 '17 at 17:37domain=-1:1the arrow at the point (1,1) certainly is not 45degree anymore. And a second thing:point metaisn't working any more... Do you have any idea why? I didnt see that you altered something formeta... – crateane Apr 23 '17 at 14:26\pgfpathmoveto{\pgfpoint{x}{y}}\pgfpathlineto{\pgfplotspointxy{u}{v}}and notice that\pgfpointand\pgfplotspointxyare using different transformation. – Symbol 1 Apr 23 '17 at 15:13point metaisn't working any more. Simple test case: adding the optionpoint meta={x},and in the node text\color{red}{\pgfplotspointmetatransformed}But since I did not ask anything aboutmetain this question, I can also ask a new one... – crateane Apr 23 '17 at 15:57\pgfplotsplothandlerquiver@vis@pathdoesn't do anything with meta values as well... – crateane Apr 23 '17 at 15:58