[pstricks] trigLabels problem ?

Arnaud Schmittbuhl aschmittbuhl at libertysurf.fr
Sun Oct 9 20:56:29 CEST 2005


Hi everybody,


I want to plot a curve with x-trigonometrics labels, beginning with 0, so I
try that 

\documentclass{article}
\usepackage{pstricks-add}

\begin{document}
\begin{pspicture}(0,-0.5)(9,2)
 \psplot[linecolor=red,algebraic=true,plotpoints=200,linewidth=0.05]%
        {0.01}{9}{abs(sin(x)/x)}
 \psaxes[dx=1.57,trigLabels,subticks=0,showorigin=true]%
        {->}(0,0)(9.5,1.5)
\end{pspicture}
\end{document}

But I get $\pi$ instead of 0 and nothing else.

With showorigin=false, x-axis is good but I do not have my 0.


-- 
Arnaud Schmittbuhl
Montpellier, France




More information about the PSTricks mailing list