[pstricks] \psforeach problem

Michael Sharpe msharpe at ucsd.edu
Tue Oct 28 04:36:13 CET 2008


I'm using the latest update to pstricks-add. I believe there is a  
small problem with \psforeach that shows up only in one type of  
\SpecialCoor.

This works correctly:
\begin{pspicture}(-.5,-1.5)(6.5,1.5)
\psforeach{\nA}{0,1,2.5}{%
\psdot(*\nA\space {sin(x)})}
\end{pspicture}

This does not:
\begin{pspicture}(-.5,-1.5)(6.5,1.5)
\psforeach{\nA}{0, 1, 2.5}{%
\psdot(*\nA\space {sin(x)})}
\end{pspicture}

The problem occurs only with the (*x {fn}) form of coordinates, and  
only when there are spaces in the argument list.

Michael



More information about the PSTricks mailing list