[pstricks] parametricplotThreeD and psplotThreeD and cartesian parametrization - Thankx

A. Erhardt erhardt at fh-offenburg.de
Mon Jun 9 15:12:51 CEST 2008


Thank you very much!

Angelika

> -----Ursprüngliche Nachricht-----
> Von: "Herbert Voss" <Herbert.Voss at FU-Berlin.DE>
> Gesendet: 05.06.08 16:29:41
> An: Graphics with PSTricks <pstricks at tug.org>
> Betreff: Re: [pstricks] parametricplotThreeD and psplotThreeD and cartesian parametrization


> A. Erhardt schrieb:
> 
> > I am trying to show the results or different parametrizations of 3D surfaces (example: demi-sphere) to my students 
> > in the subject of mathematics/vector analysis. 
> > 
> > I was trying to produce something like the enclosed picture "topf.tif". While I have no problem with the picture b) 
> > (except for the hidden line problem which I sent in a different email)
> > I had quite a problem with a) I finally made it but in a real glumsy way. 
> 
> use the \pstThreeDCircle macro ...
> 
> Herbert
> 
> \documentclass[11pt]{article}
> \usepackage{pstricks}
> \usepackage{pst-3dplot}
> 
> \begin{document}
> 
> \begin{pspicture}(-5,0)(15,10)
> %\psset{unit=10.0mm,Alpha=90, Beta=0}
> \psset{unit=30.0mm,Alpha=45, Beta=15, xPlotpoints=500,linewidth=0.8pt}
> 
> \def\Radius{1 }
> \psset{beginAngle=0,endAngle=180}
> % in x-direction
> \multido{\rA=0.0+0.15}{6}{%
>    \pstThreeDCircle[style=hiddenStyle](\rA,0,0)%
>      (0,1 \rA\space dup mul sub sqrt ,0)%
>      (0,0,1 \rA\space dup mul sub sqrt )}
> \pstThreeDCircle(0.95,0,0)%
>      (0,1 0.95 dup mul sub sqrt ,0)%
>      (0,0,1 0.95 dup mul sub sqrt )
> % in y-direction
> \multido{\rA=0.0+0.15}{6}{%
>    \pstThreeDCircle(0,\rA,0)%
>      (1 \rA\space dup mul sub sqrt ,0,0)%
>      (0,0,1 \rA\space dup mul sub sqrt )}
> \pstThreeDCircle(0,0.95,0)%
>      (1 0.95 dup mul sub sqrt ,0,0)%
>      (0,0,1 0.95 dup mul sub sqrt )
> \pstThreeDCoor[xMin=-.5, xMax=2.0, yMin=-.5, yMax=2.0, zMin=-.5, zMax=1.5,
>      linecolor=black, linewidth=0.6pt]
> \pstThreeDCircle[endAngle=360](0,0,0)(1,0,0)(0,1,0)
> \end{pspicture}
> 
> \end{document}
> 
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 





More information about the PSTricks mailing list