[pstricks] Not out the box

Herbert Voss Herbert.Voss at FU-Berlin.de
Mon Apr 12 19:36:44 CEST 2010

Am 12.04.2010 11:54, schrieb Didier A.:
> Hello,
> Is there a way to limit a surface inside the box of axesboxed? For
> instance, in the following code I'd like to the intersection (a
> circle) between the surface and the plan z=-5


\begin {document}

\psset{unit=0.5,viewpoint=50 60 30 rtp2xyz,Decran=50}
    \psSurface[ngrid=.25 .25,incolor=yellow,linewidth=0.5\pslinewidth,
    Zmin=-5,Zmax=2,hue=0 1](-5,-5)(5,5){%
    1 0.5 x dup mul y dup mul add mul sub dup -5 lt { pop -5 }if }

\end {document}


More information about the PSTricks mailing list