[pstricks] trouble with postscript stack

Christoph Bersch usenet at bersch.net
Fri Oct 12 13:54:37 CEST 2012

Am 12.10.2012 13:39, schrieb Jon Joseph:
> The only thing I change is the order of the constant multiplier. One
> works and one generates nonsense.

No, you also introduce the space in (u, v) which causes the problem. The 
following definitions both work as expected:

\defFunction{cone}(u,v) {v Cos 3 mul }{v Sin 2 mul }{u}%
\defFunction{cone}(u,v){3 v Cos mul }{2 v Sin mul }{u}%
%                  ^^^ no space here


More information about the PSTricks mailing list