[pstricks] 3D Function and intersection plan - error

Doris Behrendt doris.behrendt at me.com
Sat Sep 27 09:00:25 CEST 2014


Hi Carlo,

what is >>Euler<< in the code?

Doris

On 26 Sep 2014, at 22:16, Carlo Alberini <carloalbe1 at yahoo.it> wrote:

> 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
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/




More information about the PSTricks mailing list