[pstricks] two questions re pst3d-solides
Juergen Gilg
gilg at acrotex.net
Sat Jul 24 23:29:18 CEST 2010
Dear Zbigniev,
>
>
> How do I get the curve given parametrically by
>
> x=t
> y=1
> z=0.5-1.5*t^2
> ?
Try out the following. Varying the _r_ parameter blows the line into a
tubelike line.
You do everything right as far as i can see. I cancelled out some
unnecessary packages for your example.
\documentclass[11pt]{article}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(-0.5,-2)(3,3)
\defFunction[algebraic]{curvey}(t){t}{1}{0.5-1.5*t^2}
\psSolid[%
object=courbe,
r=0.01,
range=-1.0 1.0,
resolution=720,
linecolor=blue,
linewidth=1pt,
function=curvey,
action=draw**
]%
\end{pspicture}
\end{document}
Hope this will help.
Regards,
Juergen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100724/36aa982a/attachment.html>
More information about the PSTricks
mailing list