Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

implicit3D region

hi my question is about the 3 following codes :

implicit_plot3d(h, (x, xmin,xmax), (y, ymin, ymax), (z, zmin, zmax),color=lacouleur,adaptive=True,mesh=True,region=lambda x,y,z: y<=-1.1 or y>=-0.96)
implicit_plot3d(h, (x, xmin,xmax), (y, ymin, ymax), (z, zmin, zmax),color=lacouleur,adaptive=True,mesh=True,region=lambda x,y,z: laregion(x,y,z))
implicit_plot3d(h, (x, xmin,xmax), (y, ymin, ymax), (z, zmin, zmax),color=lacouleur,adaptive=True,mesh=True,region=laregion)
  • the first works very fine
  • the second gives an empty draw
  • the third gives plenty of errors

i precize that the program includes this :

laregion(x,y,z)= (y<=-1.1 or y>=-0.96)

I dont understand why the 3 codes dont give the same result : for me it is the same codeā€¦

Vinz