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

23 Oct '17, 22:28

touhami's gravatar image

touhami
9.8k410

Forcer l'origine d'un graphe

LaTeX représente mes graphes comme montré dans la figure ci-dessous. Serait-il possible d'avoir directement le point de coordonnées 0,0 en bas à droite (et non pas -10,-10) ? \documentclass[secnumdepth=subsubsection,12pt,space=onehalf,fncychap=Bjornstrup]{yathesis} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{kpfonts} \usepackage{booktabs} \usepackage{siunitx} \usepackage{pgfplots} \usepackage{floatrow} \usepackage{caption} \usepackage{graphicx} \usepackage{listings} \usepackage{microtype} \usepackage{varioref} \usepackage{array} \usepackage{xcolor} \begin{document} \begin{figure}[ht] \begin{center} \pgfplotsset{% every axis legend/.append style = { at = {(0.5,1.03)}, anchor = south }} { \begin{tikzpicture} \begin{axis}[ xlabel=Temps (min), ylabel=pourcentage molaire (\%), grid=major,width=12cm, height=7cm] \addplot+[smooth] table {tableaux/cat1-1.txt}; \addplot+[smooth] table {tableaux/cat1-2.txt}; \addplot+[smooth,color=green] table {tableaux/cat1-3.txt}; \legend{A,B,C} \end{axis} \end{tikzpicture} } \end{center} \caption{Suivi} \label{hydrostyr} \end{figure} \end{document} ![alt text][2] ---------- **Proposition de modification** \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis} \addplot coordinates{(0,0) (10,10)}; \end{axis} \end{tikzpicture} \end{document} ![alt text][1] [1]: http://texnique.fr:80/osqa/upfiles/2017-10-23_18_59_10-Overleaf.png [2]: http://texnique.fr:80/osqa/upfiles/pb_8u27cVi.jpg
cliquez ici pour masquer/afficher la révision 8
Mineure

23 Oct '17, 22:19

Pathe's gravatar image

Pathe
7.5k48207252

Forcer l'origine d'un graphe

LaTeX représente mes graphes comme montré dans la figure ci-dessous. Serait-il possible d'avoir directement le point de coordonnées 0,0 en bas à droite (et non pas -10,-10) ? \documentclass[secnumdepth=subsubsection,12pt,space=onehalf,fncychap=Bjornstrup]{yathesis} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{kpfonts} \usepackage{booktabs} \usepackage{siunitx} \usepackage{pgfplots} \usepackage{floatrow} \usepackage{caption} \usepackage{graphicx} \usepackage{listings} \usepackage{microtype} \usepackage{varioref} \usepackage{array} \usepackage{xcolor} \begin{document} \begin{figure}[ht] \begin{center} \pgfplotsset{% every axis legend/.append style = { at = {(0.5,1.03)}, anchor = south }} { \begin{tikzpicture} \begin{axis}[ xlabel=Temps (min), ylabel=pourcentage molaire (\%), grid=major,width=12cm, height=7cm] \addplot+[smooth] table {tableaux/cat1-1.txt}; \addplot+[smooth] table {tableaux/cat1-2.txt}; \addplot+[smooth,color=green] table {tableaux/cat1-3.txt}; \legend{A,B,C} \end{axis} \end{tikzpicture} } \end{center} \caption{Suivi} \label{hydrostyr} \end{figure} \end{document} ![alt text][1] [1]: http://texnique.fr:80/osqa/upfiles/pb_8u27cVi.jpg
cliquez ici pour masquer/afficher la révision 7

23 Oct '17, 22:08

Aur%C3%A9lienCocq's gravatar image

AurélienCocq
1.2k115666

cliquez ici pour masquer/afficher la révision 6
mineure

23 Oct '17, 21:30

Pathe's gravatar image

Pathe
7.5k48207252

cliquez ici pour masquer/afficher la révision 5
mineure

23 Oct '17, 21:30

Pathe's gravatar image

Pathe
7.5k48207252

cliquez ici pour masquer/afficher la révision 4
mineure

23 Oct '17, 21:29

Pathe's gravatar image

Pathe
7.5k48207252

cliquez ici pour masquer/afficher la révision 3
mineure

23 Oct '17, 21:28

Pathe's gravatar image

Pathe
7.5k48207252

cliquez ici pour masquer/afficher la révision 2

23 Oct '17, 21:28

Aur%C3%A9lienCocq's gravatar image

AurélienCocq
1.2k115666

cliquez ici pour masquer/afficher la révision 1

23 Oct '17, 21:27

Aur%C3%A9lienCocq's gravatar image

AurélienCocq
1.2k115666

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

×