[pstricks] pst-rubans and colour

Poul Riis poul.riis at skolekom.dk
Sat Nov 7 17:25:17 CET 2015


In this one the curve appears white, not blue as expected. Why is that so?

Poul Riis



\documentclass[12pt,a4paper]{article}
\usepackage[left=2cm,top=1.25cm,right=1.5cm,bottom=2.5cm]{geometry}
\usepackage[svgnames,x11names]{xcolor}
\usepackage{multido}
\usepackage{pst-3dplot}
\usepackage{pst-rubans}

\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,linecolor=Blue1,r=0,resolution=720,range=0 2 pi
mul,function=solenoidetorique]%
\end{pspicture}
\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20151107/f9464408/attachment.html>


More information about the PSTricks mailing list