[pstricks] trigLabels problem ?

Herbert Voss LaTeX at zedat.fu-berlin.de
Sun Oct 9 21:57:45 CEST 2005


Arnaud Schmittbuhl wrote:

> 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.

use  \uput{12pt}[-90](0,0){$0$}  for the origin

Herbert




More information about the PSTricks mailing list