I want to add a multitude of marks to a single path. However, sometimes these marks are heavily misplaced. For example, the blue arrows should be a little bit ahead of the red ones.
\begin{tikzpicture}
\draw plot[smooth, tension=.7] coordinates { (5*0.02109, 5*-0.12607)(5*0.2274, 5*-0.1806)(5*0.4037, 5*-0.02751)(5*0.536, 5*0.4091)(5*0.768, 5*0.2045)(5*0.7262, 5*-0.02055)(5*0.8538, 5*-0.1366) }
[postaction={decorate}, decoration={markings,
% Red arrows
mark=between positions 0.1 and 0.9 step 0.25 with {\arrow[red, line width=1mm]{>};},
% Blue arrows
mark=between positions 0.2 and 0.9 step 0.25 with {\arrow[blue, line width=1mm]{>};}
}]
;
\end{tikzpicture}
\documentclass
and the appropriate packages so that those trying to help don't have to recreate it.postaction
? Any number are allowed, and they are executed in order.