On Jul 19, 2010, at 5:12 PM, Zbigniew Nitecki wrote: > <pst3d test 5.tex> What you see is correctly drawn because, for z<0, r is also <0. Try changing line 54 to /r z abs A mul B div def %r=A|z|/B Michael