[pstricks] pst-solides3d psSurface

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue May 31 17:01:05 CEST 2011


Am 31.05.2011 10:41, schrieb Olivier Torres:

> this was my fisrt attempt. but i turned to rpn because it is more
> "robust" in some instances. ex. if you want to plot f(x,y), x in (a,b),
> y in (c,d), where a=a(b) and c=c(d), you may use rpn to define a and c,
> whereas infix notation fails. for instance (stupid example):
>
> \psplotThreeD[algebraic,drawStyle=xyLines,xPlotpoints=40]%
> (-2,1)(-1.5,.5){.4*((x+1)^2+2*y^2)+.2}
>
> \psplotThreeD[algebraic,drawStyle=xyLines,xPlotpoints=40]%
> (1 2 mul neg,1)(.5 3 mul neg,.5){.4*((x+1)^2+2*y^2)+.2}
>
> work fine (and produce the same plot) whereas this fails (even with
> \psset{algebraic}:
>
> \psplotThreeD[algebraic,drawStyle=xyLines,xPlotpoints=40]%
> (-1*2,1)(-.5*35){.4*((x+1)^2+2*y^2)+.2}

that is not supported, only the function can be described in
algebraic or postfix notation.

Herbert


More information about the PSTricks mailing list