<br><br><div><span class="gmail_quote">On 9/25/05, <b class="gmail_sendername">Herbert Voss</b> &lt;<a href="mailto:LaTeX@zedat.fu-berlin.de">LaTeX@zedat.fu-berlin.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
geotal wrote:<br><br>&gt; Thanks.&nbsp;&nbsp;pst-vue3d is excellent.<br><br>indeed<br><br> &gt; Now instead of a sphere,<br>&gt; I would like to plot the circular paraboloid f(x,y) = x^2 + y^2,<br>&gt; clipped (bounded) by the plane z = 1, which resembles a bowl, close to a
<br>&gt; semi-sphere.<br>&gt;<br>&gt; I have looked at the code of the sphere and semi-sphere in pst-vue3d to<br>&gt; see if I could define the paraboloid but it is<br>&gt; beyond me.<br><br>a parametrical plot with a limited z value is easy
<br><br>x(t,u) = a sqrt(u/h) cos t<br>y(t,u) = a sqrt(u/h) sin t<br>z(t,u) = u<br><br>u=[0;1], t=[0;360)&nbsp;&nbsp;a is the radius at the height h</blockquote><div><br>
Thanks, Hebert.<br>
<br>
I can understand&nbsp; your example, and will build upon it.&nbsp; It is especially<br>
useful for outline type drawings of paraboloids.<br>
<br>
geotal<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">\documentclass[12pt]{article}<br>\usepackage{pst-3dplot}<br>\begin{document}<br><br>
\psset{xunit=5cm,yunit=5cm}<br>\begin{pspicture}(-1,-1)(1,1)<br>\pstThreeDCoor[xMax=1,yMax=1,zMin=0.1,zMax=2]<br>\pstVerb{<br>&nbsp;&nbsp; /height 1 def<br>&nbsp;&nbsp; /radius 1 def<br>}<br>\parametricplotThreeD[yPlotpoints=50,plotstyle=curve](0,360)(0,1){%
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; radius u height div sqrt mul t cos mul<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; radius u height div sqrt mul t sin mul<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; u&nbsp;&nbsp;}<br>\end{pspicture}<br><br>\end{document}<br><br><br>Herbert<br><br>_______________________________________________
<br>pstricks mailing list<br><a href="mailto:pstricks@tug.org">pstricks@tug.org</a><br><a href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a><br></blockquote></div><br>