probably an easy one for people how are used to it. i'd like to fill the area between the two functions with a pattern (stripes, for instance). See the code below. I saw something like this with [domain]-option, but no glue how the scheme works, maybe i'm totaly wrong :D
JOB:
fill diff between red and black funktion
Thanks so far
\def\dtwData{graphics/data/dtwSimple.txt}
\begin{tikzpicture}
%Points
\coordinate (x-start) at (0cm, 2cm);
\coordinate (x-end) at (15cm, 2cm);
\begin{scope}[thick]
\draw[] (0,0) -- (0,6);
\draw[] (x-start) -- (x-end);
\end{scope}
\draw[color=red, thick] (0, 1) -- (14, 6);
\draw[color=blue, dashed] (0, 1.75) -- (14, 6.75);
\draw[color=blue, dashed] (0, 0.25) -- (14, 5.25);
%plot
\draw[thick] plot[smooth] file {\dtwData};
\end{tikzpicture}


\drawcommands. Try\fill (0,1) -- (14,6) (0,0) plot[smooth] file {\dtwData}. – Martin Scharrer Jan 26 '13 at 12:28