I would like to plot the normal and tangent lines on a smooth cycle. So far, I have this :

As you can see, the normal well done, by the tangent isn't, what's the good setup for it ?
\documentclass[11pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture} %[allow upside down]
\draw plot [smooth cycle, tension=0.8] coordinates {(2.5,0) (0,0) (0,2) (3,2)}
node[sloped,inner sep=0cm,below,pos=0,
anchor=south west,
minimum height=1cm,minimum width=1cm](N){};
\path[->] (N.south west) edge node[left] {$\vec{ n}$} (N.north east);
\path[->] (N.south west) edge node[left] {$\vec{ t}$} (N.south east);
\end{tikzpicture}
\end{document}




drawas option tonodeyou will see why it is not working. Also, connecting node vertexes how could you know if the arrow are tangent? – Sigur Feb 09 '14 at 13:51centerinstead ofsouth westand then you can use the top and bottom corners as ending points for the arrows. But in my opinion the result is not normal neither tangent. The angle between the vectors is 90 but the curve curvature at that point is a little bit different. – Sigur Feb 09 '14 at 13:58poskey only works with line-to, arc, curve-to and horizontal/vertical line-to operations. For all other path construction operations, the position placement does not work, currently. – Paul Gaborit Feb 09 '14 at 14:12