کد: [انتخاب]
\documentclass{article}
\usepackage{pstricks-add,pst-math}
\usepackage{xepersian}
\begin{document}
\begin{center}
\begin{pspicture}*(-1,-2.5)(5.5,2.5)
\SpecialCoor % For label positionning
\psaxes[labels=y,Dx=\pstPI2]{->}(0,0)(-1,-2)(5,2)
\uput[-90](!PI 0){$\pi$}
\uput[-90](!PI 2 div 0){$\frac{\pi}2$}
\uput[-90](5,0){$x$}
\uput[180](0,2){$y$}
\psplot[linewidth=1.5pt,linecolor=blue]{0}{5}{x COS}
\end{pspicture}
\end{center}
\end{document}