Etiquette de la flèche de l'axe des abscisses d'un graphique avec pstricks
Bonjour,
\documentclass[french]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[a4paper]{geometry}
\usepackage{siunitx}
\usepackage{xspace}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage{pstricks,pstricks-add,pst-func,pst-2dplot,pst-xkey}
\newcommand{\mbr}{\ensuremath{\mathbb{R}}\xspace}
\usepackage[french]{babel}
\begin{document}
\begin{pspicture}(-0.6,-2)(2.5,2)
\psaxes[trigLabelBase=2,dx=\psPiH,xunit=\psPi,trigLabels]%
{->}(0,0)(-0.2,-1.5)(2,1.5)[$x$,-90][$y$,90]
\psplot[linewidth=1.6pt,plotpoints=200,
linecolor=red,algebraic]{0}{2}{sin(x)}
\psplot[linewidth=1.0pt,plotpoints=200,
linecolor=blue,algebraic]{0}{2}{2*x/3.14}
\end{pspicture}
\end{document}
Ce Le MWE suivant compile bien. Toutefois, dans l'image produite, il déporte sur la droite l'étiquette $x$ de l'axe des abscisses. Je suis incapable d'en découvrir la cause.
Merci de toute suggestion.
Bien sincèrement
\documentclass[french]{article}
JP D \usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[a4paper]{geometry}
\usepackage{siunitx}
\usepackage{xspace}
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage{pstricks,pstricks-add,pst-func,pst-2dplot,pst-xkey}
\newcommand{\mbr}{\ensuremath{\mathbb{R}}\xspace}
\usepackage[french]{babel}
\begin{document}
\begin{pspicture}(-0.6,-2)(2.5,2)
\psaxes[trigLabelBase=2,dx=\psPiH,xunit=\psPi,trigLabels]%
{->}(0,0)(-0.2,-1.5)(2,1.5)[$x$,-90][$y$,90]
\psplot[linewidth=1.6pt,plotpoints=200,
linecolor=red,algebraic]{0}{2}{sin(x)}
\psplot[linewidth=1.0pt,plotpoints=200,
linecolor=blue,algebraic]{0}{2}{2*x/3.14}
\end{pspicture}
\end{document}