1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
\begin{tikzpicture}
\begin{axis}
\addplot[blue,name path=A,domain=0:5] {x^2};
\addplot[red,name path=B,smooth] table {
x y
0 10
1 8
2 6
3 1
4 5
};
\addplot[gray] fill between[of=A and B,
split,
every segment no 0/.style=
{pattern color=gray!50,
pattern=north east lines},
every segment no 1/.style=
{pattern=north west lines},
];
\end{axis}
\end{tikzpicture}