[pstricks] curves with pst-solides3d

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Feb 1 16:11:11 CET 2011


Am 01.02.2011 16:01, schrieb Andrzej J. Maciejewski:

> The following input does not produce visible spiral. Amazingly labels of the
> axes are all located at the origin.

<ou need a lightsource and magnification setting:


\listfiles
\documentclass[12pt]{article}%
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}

\psset{lightsrc=10 5 20,viewpoint=30 -60 30 rtp2xyz,Decran=15}
\begin{pspicture}(-5,-5)(5,5)
\defFunction[algebraic]{helice}(t){3*cos(4*t)}{3*sin(4*t)}{t}
 \psSolid[object=courbe,r=0,
 base=0 6,
 linewidth=2pt,
 resolution=360,
 function=helice]%
%
\axesIIID[showOrigin=true ](1,1,1)(3,2,2.5)
\end{pspicture}
%%
\end{document}


Herbert


More information about the PSTricks mailing list