Re: Plot3D slice
- To: mathgroup at smc.vnet.net
- Subject: [mg57930] Re: Plot3D slice
- From: "Narasimham" <mathma18 at hotmail.com>
- Date: Mon, 13 Jun 2005 05:50:47 -0400 (EDT)
- References: <d8gt82$muo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Vasil Michev wrote: > I have s 3dplot, and I want to take slice at fixed value along the Z axis. How to do that? You could improve z-axis cropping in example: Clear[Full, cut] Full = Plot3D[(2 + Sin[x]) Cos[2 y], {x, -2, 2}, {y, -3, 3}, AxesLabel -> {"x", "y", "z"}, PlotRange -> {{-3, 3}, {-4, 4}, {-5, 0}}]; cut = Plot3D[(2 + Sin[x]) Cos[2 y], {x, -2, 2}, {y, -3, 3}, AxesLabel -> {"x", "y", "z"}, PlotRange -> {{-3, 3}, {-4, 4}, {0, 5}}]; Show[Full, cut];