[pstricks] x/x in pstricks
mathias legrand
legrand.mathias at gmail.com
Mon Sep 27 14:58:27 CEST 2010
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Sep 2010 06:47:48 +0200
> From: Herbert Voss<Herbert.Voss at FU-Berlin.DE>
> To: Graphics with PSTricks<pstricks at tug.org>
> Subject: Re: [pstricks] x/x in pstricks
> Message-ID:<4CA021F4.3000706 at FU-Berlin.DE>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Am 27.09.2010 01:07, schrieb mathias legrand:
>> 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).
thanks, but I get very strange results.
\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}
\psSurface[ngrid=.4
.4,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