[pstricks] hiddenLine in pst-3dplot

Patrice MEGRET Patrice.MEGRET at umons.ac.be
Wed Aug 5 15:05:53 CEST 2020


Dear Herbert,

It seems that 3D parametric plot does not take care of xyLines and hiddenLine keys. Is it the normal behavior?

Here is a simple example:
\begin{pspicture}[showgrid=false](-3,-4)(7,4.5)
\psset{unit=1,Alpha=75,Beta=30,nameX=$1$,nameY=$2$,nameZ=$3$}

\pstThreeDCoor[linecolor=red,xMax=7,yMax=6.5,zMax=4.5]

%\parametricplotThreeD[drawStyle=xyLines,plotstyle=curve,drawStyle=xyLines,hiddenLine](0,6)(0,6){t u t 2 mul t t mul -3 div add u 0.1 mul add}

\def\func{x 2 mul x x mul -3 div add y 0.1 mul add }
\psplotThreeD[plotstyle=curve,drawStyle=xyLines,yPlotpoints=50,xPlotpoints=50, linewidth=0.2pt,linecolor=blue!50,hiddenLine](0,6)(0,6){\func}

\end{pspicture}


Patrice



-----Message d'origine-----
De : PSTricks <pstricks-bounces+patrice.megret=fpms.ac.be at tug.org> De la part de Herbert Voss
Envoyé : mercredi 5 août 2020 13:49
À : pstricks at tug.org
Objet : Re: [pstricks] hiddenLine in pst-3dplot



Am 05.08.20 um 13:45 schrieb Patrice MEGRET:
> By the way,
> \pstThreeDBox[hiddenLine=true](-1,1,2)(0,0,2)(2,0,0)(0,1,0)
> \pstThreeDBox[hiddenLine=true](-1,1,2)(2,0,0)(0,1,0)(0,0,2)
> give the same drawing.
>
>

Patrice,
you are right.

I changed the code again, after I wrote it ...

best
Herbert
--
list: https://lists.tug.org/pstricks
archive: https://tug.org/pipermail/pstricks/



More information about the PSTricks mailing list.