[pstricks] setting up pst-solides3d

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jan 5 07:30:32 CET 2009


Zbigniew Nitecki schrieb:

[ ... ]
>     \begin{pspicture}(-6,-3)(6,3)
>         \psset{unit=1.5}
>         \defFunction{mobius}(u,v)
>             {2 u v Cos mul add 2 v mul Cos mul}
>             {2 u v Cos mul add 2 v mul Sin mul}
>             {u v Sin mul}
>            
>         \psset[pst-solides3d]{viewpoint=20 10 5,Decran=40,lightsrc=20 10
> 10}
>         \psSolid[object=surfaceparametree,linewidth=0.75\pslinewidth,
>             base=0.2 0.25 0 pi,linewidth=0.1,
>             function=mobius,
>             ngrid=.025]
>         \psSolid[object=surfaceparametree,linewidth=0.75\pslinewidth,
>             base=-0.25 -0.2 0 pi,linewidth=0.1,
>             function=mobius,
>             ngrid=.05]

should be

             ngrid=.025]

Herbert


>     \end{pspicture}
> \caption{Moebius Band}
> \label{fig:Moebius}
> \end{center}
> \end{figure}
> 
> 
> 
> \end{document}


More information about the PSTricks mailing list