Cross sections of 3D figures
- Subject: [mg3014] Cross sections of 3D figures
- From: easther at cfi.waseda.ac.jp (Richard EASTHER)
- Date: 22 Jan 1996 06:04:48 -0600
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Centre for Informatics, WASEDA University
- Sender: mj at wri.com
Hi! I am trying to find a way to take a 2d cross section of a complicated 3d surface in Mathematica. A long as the figure is single valued in the Z-direction it is comparatively simple - I can just do a contour plot and select the contour that corresponds to the particular value I am interested in. However, I am not so fortunate: the object is multi-valued in the Z-direction and is specified parametrically, both of which thwart the contour plotting. I can get a rough result by plotting the figure with the PlotRange option for the Z-axis set just above and below the value of z where I want to take the cross section, and choosing the BoxRatios to be {1,1,0}. However if there is a more elegant solution (either a package or a built in command I have overlooked) it would be great to hear about it! Richard PS I know I could solve numerically for the values of x and y where the figure cuts the plane that defines the cross-section, but I have not been able to find an efficient way of doing this within Mathematica and want to avoid doing it with an external Fortran program if possible. +=================================================================+ | Richard Easther No quote - just my address | | easther at cfi.waseda.ac.jp | +=================================================================+ --