[pstricks] \psSurface

robert.fischer10 at arcor.de robert.fischer10 at arcor.de
Fri Aug 7 22:53:00 CEST 2009


Hello,

do you know why the intersection line of the surface below looks so strange? See attachment...

Minimal Example:
\documentclass{minimal}
\usepackage{pst-pdf}
\usepackage{pst-solides3d}
\usepackage{pst-3dplot}
\usepackage{datatool}


\pagestyle{empty}

\begin{document}

		\psset[pst-solides3d]{lightsrc=viewpoint,
				lightintensity=1.2,Decran=15}
		%Algebraic Function
		\def\MyFuncAlg#1#2{1.5*sin(#1*x)*cos(#2*y)}%Already in RAD
		\begin{pspicture}(-5.5,-8)(6,2)
%			\psgrid[gridcolor=gray,subgridcolor=lightgray]
			%Axes
			\DTLadd{\MyValue}{\psPiTwo}{0.5}
			\axesIIID[showOrigin=false,axisnames={x,t,y},
				arrowinset=0,arrowscale=1.5](0,0,0)(\MyValue,\MyValue,1.8)
			%Surface
			\psSurface[ngrid=.3 .3,fillcolor=gray,incolor=gray!25,
				linecolor=gray!50,linewidth=0.1\pslinewidth,
				intersectionplan={[0 0 1 0]},
				intersectioncolor=(noir),
				intersectionlinewidth=3,
				intersectiontype=0,
				algebraic
				](0,0)(\psPiTwo,\psPiTwo){\MyFuncAlg{1}{1}}
		\end{pspicture}

\end{document}

Best regards,
robert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: surface.pdf
Type: application/pdf
Size: 26557 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090807/9a5606e7/attachment-0001.pdf>


More information about the PSTricks mailing list