If you have Mathematica and input:
ParametricPlot3D[{Sin[u], Sin[v], Sin[u + v]}, {u, 0, 2 Pi}, {v, 0, 2 Pi]
You will generate a 3D solid that looks like a cube with crushed in sides. What I want to do is take cross sections of this solid with the horizontal planes: z = 0, z = 1, z= -1, z= 1/2, and z= -1/2.
What is the command to generate plots of these cross sections?
This can be done by specifying a
RegionFunction, which is a boolean condition that determines where the surface is allowed to be plotted. Here, you would usewhere
ais the height at which you want the intersecting plane to be. To illustrate this, I’ll make a movie:And now I’ll export it as a
GIFanimation to include below: