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