Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 2

02 Jan '20, 18:54

touhami's gravatar image

touhami
9.9k410

Voir par exemple la page 84 de la doc de *pgfplots* : `x tick label style={/pgf/number format/1000 sep=}` sep=}` ou `tick label style={/pgf/number format/1000 sep=}`. \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{pgfplots} %\usepgfplotslibrary{dateplot}. Semble ne pas être accepté \begin{filecontents}{data2.txt} Date Precip 2000 500 2001 400 2002 600 2003 300 2004 1000 2005 700 2006 500 2007 400 \end{filecontents} \begin{document} \begin{tikzpicture} \begin{axis}[ axis lines=center, extra x ticks=0, x tick label style={/pgf/number format/1000 sep=}, grid=major,] \addplot table[x=Date,y=Precip]{data2.txt}; \end{axis} \end{tikzpicture} \end{document}
cliquez ici pour masquer/afficher la révision 1

02 Jan '20, 18:51

touhami's gravatar image

touhami
9.9k410

Voir par exemple la page 84 de la doc de *pgfplots* : `x tick label style={/pgf/number format/1000 sep=}` \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{pgfplots} %\usepgfplotslibrary{dateplot}. Semble ne pas être accepté \begin{document} \begin{tikzpicture} \begin{axis}[ axis lines=center, extra x ticks=0, x tick label style={/pgf/number format/1000 sep=}, grid=major,] \addplot table[x=Date,y=Precip]{data2.txt}; \end{axis} \end{tikzpicture} \end{document}

C'est votre première visite ici ? Consultez la FAQ !

×