[pstricks] hiddenLine and parametricplotThreeD - thanx for help

A. Erhardt erhardt at fh-offenburg.de
Thu Jun 5 15:08:04 CEST 2008


:-) Aah, so, of course!

Thanks a lot!

Angelika Erhardt



> -----Ursprüngliche Nachricht-----
> Von: "Herbert Voss" <Herbert.Voss at FU-Berlin.DE>
> Gesendet: 04.06.08 16:54:51
> An: Graphics with PSTricks <pstricks at tug.org>
> Betreff: Re: [pstricks] hiddenLine and  parametricplotThreeD


> A. Erhardt schrieb:
> 
> > I am having problems with parametricplotThreeD and the hiddenLine option.
> > In the statement
> > \parametricplotThreeD[xPlotpoints=500, yPlotpoints=20, hiddenLine=true](0,360)(-90,90){...}
> > setting hiddenLine=true or hiddenLine=false shows the same result.
> > 
> > How can I hide the invisible lineses with parametricplotThreeD?
> 
> In this case the improved hidden line style doesn't really
> work. You can draw the circles only for the visible part
> or use the package pst-solide3d for central projection.
> 
> The first solution:
> \begin{pspicture}(-5,0)(15,10)
> \psset{unit=30.0mm,Alpha=45, Beta=15}
>    \parametricplotThreeD[xPlotpoints=500, yPlotpoints=10](-45,135)(0,90){%
>          /r 1.0 def
>          r t cos mul u sin mul
>          r t sin mul u sin mul
>          r u cos  mul
>    }
> \parametricplotThreeD[xPlotpoints=500, yPlotpoints=8](0,90)(-45,135){%
>          /r 1.0 def
>          r u cos mul t sin mul
>          r u sin mul t sin mul
>          r t cos  mul
> }
> \pstThreeDCoor[xMin=-.5, xMax=2.0, yMin=-.5, yMax=2.0, zMin=-.5,
>      zMax=1.5,linecolor=black,linewidth=0.6pt]
> \end{pspicture}
> 
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 





More information about the PSTricks mailing list