[pstricks] Problems with pst-3dplot and viewpoint

Juergen Rose rose at rz.uni-potsdam.de
Wed Mar 12 14:29:54 CET 2008


Hi,

the following example work last autumn, but now I get the error:

LaTeX2e <2005/12/01>
...
`PSTricks' v1.15  <2006/12/22> (tvz)
...
 v97 patch 2, 1999/12/12
(/usr/share/texmf-dist/tex/generic/multido/multido.tex
 v1.41, 2004/05/18 <tvz>))
(/usr/share/texmf-dist/tex/generic/pstricks/pst-node.tex
 v97 patch 11, 2000/11/09)
...
`pstricks-add' v2.82, 2006/11/22 (dr,hv)))
...
! Package xkeyval Error: `viewpoint' undefined in families
`,pstricks-add,pst-3dplot'.


\listfiles
\documentclass{article}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{pstricks,pstricks-add,pst-3dplot}

\begin{document}
   \begin{pspicture}(-4,-1.5)(4,4)
     \psset{Alpha=60,Beta=10}
     \pstThreeDCoor[xMax=3,yMax=3,zMax=5,IIIDticks]
     \pstThreeDPut(0,0,0){\pstParaboloid[increment=10]{4}{2}}
     \pstThreeDLine[linecolor=blue](0.6,1.6,2.92)(0.6,3.1,2.92)
     \pstThreeDPut(0.6,4.1,2.92){$z=x^2+y^2$}
     \parametricplotThreeD[%
     xPlotpoints=50,linecolor=green,linewidth=2pt,plotstyle=curve
     ](0,360){%
       t cos t sin 1}
     \pstThreeDLine[linecolor=blue](0.4,0.92,1)(0.4,2.42,1)
     \pstThreeDPut(0.4,4.0,1){Fl"achenkurve $z = 1 = const$}
   \end{pspicture}
\end{document}


Could you give me any hint?

	Juergen




More information about the PSTricks mailing list