[pstricks] pst-rubans and colour
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Sun Nov 8 09:39:16 CET 2015
Am 07.11.2015 um 17:25 schrieb Poul Riis:
> \psSolid[object=courbe,linecolor=Blue1,r=0,resolution=720,range=0 2 pi
use fillcolor=Blue1
\documentclass{article}
\usepackage[svgnames,x11names]{xcolor}
\usepackage{pst-solides3d}
\begin{document}
\psset{viewpoint=0 50 50,Decran=50}
\begin{pspicture}(-5,-5)(5,5)
\defFunction[algebraic]{solenoidetorique}(t){(4+cos(10*t))*cos(t)}{(4+cos(10*t))*sin(t)}{sin(10*t)}
\psSolid[object=tore,r0=1,r1=4,action=draw*,ngrid=18 36,linecolor=Coral1]%
\psSolid[object=courbe,fillcolor=Blue1,r=0,resolution=720,range=0 2 pi
mul,function=solenoidetorique]%
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list