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

08 Fév '24, 10:19

samcarter's gravatar image

samcarter
8.6k2817

% !TEX TS-program = lualatex \documentclass[french,a4paper]{article} \usepackage[fulloldstylenums]{kpfonts-otf} % chiffres elzéviriens = oldstylenums + oldstylenumsmath \usepackage{babel} % \usepackage{pgfplots} \pgfplotsset{compat=1.5} % \begin{document} \begin{tikzpicture} \begin{axis} [ ymajorgrids, x tick label style={/pgf/number format/1000 sep={},anchor=base,yshift=-0.35cm}, ] \addplot coordinates { (2024,16.9) (2026,13.6) }; \addplot coordinates { (2022,15.8) (2023,12.3) }; \legend{A,B} \end{axis} \end{tikzpicture} \end{document}\end{document} ![alt text][1] [1]: https://texnique.fr/osqa/upfiles/Screenshot_2024-02-08_at_10.19.08.png
cliquez ici pour masquer/afficher la révision 1

08 Fév '24, 10:18

samcarter's gravatar image

samcarter
8.6k2817

% !TEX TS-program = lualatex \documentclass[french,a4paper]{article} \usepackage[fulloldstylenums]{kpfonts-otf} % chiffres elzéviriens = oldstylenums + oldstylenumsmath \usepackage{babel} % \usepackage{pgfplots} \pgfplotsset{compat=1.5} % \begin{document} \begin{tikzpicture} \begin{axis} [ ymajorgrids, x tick label style={/pgf/number format/1000 sep={},anchor=base,yshift=-0.35cm}, ] \addplot coordinates { (2024,16.9) (2026,13.6) }; \addplot coordinates { (2022,15.8) (2023,12.3) }; \legend{A,B} \end{axis} \end{tikzpicture} \end{document}

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

×