I have this curve made with TikZ:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw [cyan,line width=1mm] plot [smooth, tension=2] coordinates { (0,0) (5,3) (9,-1) (11,4)} ;
\end{tikzpicture}
\end{document}
I would like to place several nodes on this plot. I know this is somehow possible within the axis
environment but I have no idea how to do it here.
plot
operation doesn't provide one. You either have to use PGFPlots, thedecoration.markings
library or thespath3
library which basically does the same asdecoration.markings
.plot
, you may need another approach. See this question.decoration.markings
library does work differently as even unitless values are considered fractions of the total length of the decorated path. If you want something timer like for the individual curves that the PGF plot handlers generate, we will have to dig into the internals.spath3
could help here maybe.