[pstricks] pst-solides3d psSurface

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue May 31 08:54:15 CEST 2011


Am 30.05.2011 18:32, schrieb Leon Free:

> i'd like to use the projection+intersection facilities included in
> pst-solides3d. i started plotting a 3d function z=f(x,y) (see attached
> tex source).
>
> while \psplotThreeD from pst-3dplot works fine, the \psSurface macro
> from pst-solides3d fails.

[ ... ]

> all i can guess is that a ./0 division occurs at some point. but i cant
> debug it further. does anybody know what's wrong ?

\psSurface[ngrid=.25 .25,
   algebraic](-1,-1)(1,1){(1+x)^2+2*y^2-0.4*x*y+0.2}

the x-y range is given by (xMin,yMin)(xMax,yMax). You had
(xMin,xMax)(yMin,yMax) which is wrong.

By the way: using the algebraic option, makes live easier
and please subscribe to the list, if you want to be sure to
get all answers.

Herbert


More information about the PSTricks mailing list