[pstricks] x/x in pstricks

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Sep 28 09:49:13 CEST 2010


Am 27.09.2010 14:58, schrieb mathias legrand:

> thanks, but I get very strange results.

I get the attached with:


\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{pst-solides3d}
\pagestyle{empty}
\begin{document}

\begin{pspicture}(-4,-5)(6,8)
\psset{lightsrc=,viewpoint=50 -30 10 rtp2xyz,Decran=60}
\psSurface[incolor=yellow, linewidth=0.001pt,axesboxed,
fillcolor=red!15,Zmin=-1,Zmax=2,ngrid=50 50](-4,-4)(4,4){
  y x add dup abs 1.e-10 lt {}{
  y x add div } ifelse }
\end{pspicture}

\end{document}


Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.png
Type: image/png
Size: 42313 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100928/aa6fb664/attachment-0001.png>


More information about the PSTricks mailing list