[pstricks] more confusion about error in pstricks

Michael Sharpe msharpe at ucsd.edu
Sat Dec 31 21:50:55 CET 2011


On Dec 31, 2011, at 12:24 PM, Nitecki, Zbigniew H. wrote:

> The following code
> \begin{pspicture}(-3,-3.5)(3,3.5)
> \psset{unit=0.5}
> \psset{Alpha=30}
> \pstThreeDCoor%
> [linecolor=black, xMin=-8, xMax=8,yMin=-8, yMax=8,zMin=-8, zMax=8]
> \pstThreeDEllipse[linecolor=blue]%
> (6.5,0,0)%
> (0 6.5 dup mul 36 sub 2 div 0)%
> (0 0 6.5 dup mul 36 sub 3 div)
> \end{pspicture
> 
> yields the following error:
> 
> Runaway argument?
> 0 6.5 dup mul 36 sub 2 div 0)\let \pst at tempA \pst at coorIIID \getThreeDCoor \ETC.
> ./Briefpicturetest.tex:105: Paragraph ended before \pst at getThreeDcoor was compl
> ete.

The coordinates must be comma-separated, as in

(6.5,0,0)%
(0, 6.5 dup mul 36 sub 2 div, 0)%
(0, 0, 6.5 dup mul 36 sub 3 div)

And, don't forget the } after \end{pspicture.

Michael


More information about the PSTricks mailing list