[pstricks] generating a parametrized curve in pst3d-solides

Michael Sharpe msharpe at ucsd.edu
Mon Aug 16 23:13:16 CEST 2010


On Aug 16, 2010, at 1:47 PM, Zbigniew Nitecki wrote:

> The following code (the whole tex source file)
> ******************************************************
> % !TEX TS-program = latex
> \listfiles
> \documentclass[11pt]{article}
> \usepackage{pst-solides3d, pst-3dplot, pst-math,pstricks-add}
> \usepackage{pst-3d}
> \begin{document}
> 				\begin{pspicture}(-3,-1)(3,4.5)
> 				\psset{unit=0.25}
> 				\psset{viewpoint=1 1 1},
> 				\defFunction{Fpcurvex}(t)%
> 					{t}{0}{t dup mul 4 mul}
> 				\psSolid[object=courbe, r=0,
> 					base=0 1,
> 					linecolor=red,
> 					linewidth=2,
> 					resolution=360,
> 					function=Fpcurvex,
> 				]
> 				\end{pspicture}
> \end{document}
> *************************************************************
> yields a blank page.  What am  doing wrong?  (modelled after
> example at the bottom of p. 22 in the English documentation for pst-solides3d).
> 

Try a non-zero value of r.

Michael





More information about the PSTricks mailing list