[pstricks] x/x in pstricks
mathias legrand
legrand.mathias at gmail.com
Mon Sep 27 01:07:39 CEST 2010
Hi all,
please have a look at the code below. What are existing strategies to
avoid the inconsistency? postscript does not know what to do with
(x+y)/(x+y) in (x,y)=(0,0). Thank you
\documentclass{article}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}
\begin{pspicture}(-4,-5)(6,8)
\psset{lightsrc=40 25 140,viewpoint=50 -45 30 rtp2xyz,Decran=60,unit=0.5}
% will compile
\psSurface[ngrid=.7
.7,incolor=yellow,linewidth=0.1\pslinewidth,fillcolor=red!15,Zmin=-8,Zmax=8](-4.1,-4)(4,4){y
x add x y add div}
% won't compile
\psSurface[ngrid=.7
.7,incolor=yellow,linewidth=0.1\pslinewidth,fillcolor=red!15,Zmin=-8,Zmax=8](-4,-4)(4,4){y
x add x y add div}
\end{pspicture}
\end{document}
More information about the PSTricks
mailing list