I want to draw an area chart, something like this
I dont know how to fill the area with colors, here is what I have
\documentclass{standalone}
\usepackage{pgfplots}
\usepackage{xcolor}
\pgfplotsset{compat=1.8}
\makeatletter
\let\percent\@percentchar
\makeatother
\begin{document}
\begin{center}
\begin{tikzpicture}
\begin{axis}[
%title = {Distinctive SIFT features vs. Image resolution},
xlabel= X LABEL HERE,
ylabel= {Y LABEL HERE},
enlarge x limits=0.1,
legend style={
at={(0.5,-0.15)},
anchor=north,legend columns=-1
},
width=12.8cm,
height=8cm,
point meta={x*100},
symbolic x coords={100\percent, 90\percent, 79\percent, 69\percent, 60\percent, 50\percent, 39\percent, 30\percent, 20\percent},
%grid=major
]
% Median
\addplot coordinates {
(100\percent, 7218) (90\percent, 6075) (79\percent, 4021) (69\percent, 2906) (60\percent, 1861) (50\percent, 768) (39\percent, 451) (30\percent, 317) (20\percent, 164)};
\end{axis}
\end{tikzpicture}
\end{center}
\end{document}
y
coordinate?