\begin{axis}[ axis x line=center, axis y line=center, grid=both, grid style={thick}, ymin = 2.5, ymax = 3.5, xmin=2001, xmax=2007, x=40, x tick label style={ /pgf/number format/.cd, 1000 sep={}, /tikz/.cd }, xticklabel style={rotate=45}, ylabel={Nombre d'entrées par habitants}, xlabel={Année}, x label style={at={(axis description cs:1,0)},anchor=south east}, y label style={at={(axis description cs:0,1)},anchor=north west}, legend style={at={(axis cs:2007,32500)}}, ] \addplot table[x=annee,y=entrees] {cinema.data}; \end{axis}