[pstricks] 3D Function and intersection plan - error

Carlo Alberini carloalbe1 at yahoo.it
Fri Sep 26 22:16:48 CEST 2014


Dear list,
   I have a problem with an intersection between a plan and a function (the equation of the function is downloaded from PSTricks main web page).

I need to have the intersection with the function and the plan y=1.5 and to have a red line marking the inersection. Here is the code:

\documentclass[12pt]{article}
\usepackage{pst-solides3d}
\pagestyle{empty}

\begin{document}

\psset{viewpoint=50 70 20 rtp2xyz,Decran=50,lightsrc=viewpoint}
\begin{pspicture}(-7,-8)(7,8)
{\psset{object=courbe,r=0,linecolor=blue,resolution=360,range=-5 5}}
\psSurface[name=FUNC,ngrid=.15 .15,fillcolor=green!30,incolor=gray!30,
  linewidth=0.4pt,algebraic](-4,-4)(4,4)%
   { 15*(x^3-x*y^4-x/5)*Euler^(-x^2-y^2)+2*Euler^(-((x-1.225)^2+y^2)) }
\axesIIID[linecolor=gray](0,0,0)(7,7,5)

\psSolid[object=plan,definition=equation,
   args={[0 1 0 -1.5]},
   base=-25 -5 -15 5,ngrid=40 40,fillcolor=blue!30,
   name=PLANE,action=none]
  \psSolid[object=fusion,base=PLANE_s FUNC]

\end{pspicture}
\end{document}

The problem is: I have no plan in the output ...

Thank you very much for the help!

Carlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140926/97fc7645/attachment.html>


More information about the PSTricks mailing list