[pstricks] Broken algebraic Postscript coordinates

Michael Sharpe msharpe at ucsd.edu
Mon Jul 28 03:17:23 CEST 2008

Well, I found that I had ignored the part of the documentation which  
says to enclose the function expression in braces if it has internal  
parentheses. So, all went well once I replaced the \psline entry with

\psline(*1 {\myfn})(*4 {\myfn})


On Jul 27, 2008, at 10:48 AM, Michael Sharpe wrote:

> As of pstricks 1.24 and 1.25, the special coordinate form (*x f(x))
> seems to be broken. It does work in pstricks 1.22 (patched to fix
> \psDEBUG).
> Example.
> \usepackage{pstricks,pst-plot}
> \usepackage{pstricks-add}
> \listfiles
> \begin{document}
> \begin{pspicture}(-1,-1)(6,4)
> \def\myfn{6*Ex(-x/2)*sin(x)}
> \psplot[algebraic]{0}{5}{\myfn}
> \psaxes(0,0)(-.5,-.5)(5.5,3.5)
> \SpecialCoor
> \psline(*1 \myfn)(*4 \myfn)%draw line from (1,f(1)) to (4,f(4))
> \end{pspicture}

More information about the PSTricks mailing list