[pstricks] Is this paraboloid possible with PSTricks

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Sun Dec 19 23:32:32 CET 2004


Paul Smith wrote:

> http://mathworld.wolfram.com/Paraboloid.html
> 
> but _without_ the grid? If so, which packages should I consider?

\documentclass[12pt]{book}%
\usepackage{pstricks}%
\usepackage{pst-3dplot}%
\usepackage{pst-grad}%
\begin{document}

\begin{pspicture}(-5,-1)(5,8)
\pstVerb{ /radius 3 def /height 4.0 def}
\pstThreeDCoor[xMin=-0.5,yMin=-0.5,zMin=-0.5,zMax=6]
\parametricplotThreeD[%
   linewidth=0.1pt,fillstyle=gradient,yPlotpoints=110]%
   (0,360)(0,4){%
     radius u height div sqrt mul t cos mul % x
     radius u height div sqrt mul t sin mul % y
     u                                      % z
   }
\pstThreeDLine[linecolor=red,arrows=->](0,0,2.4)(0,0,6)
\end{pspicture}
\end{document}

Herbert




More information about the PSTricks mailing list