Re: A 3D Plot Query
- To: mathgroup at smc.vnet.net
- Subject: [mg94276] Re: [mg94222] A 3D Plot Query
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 9 Dec 2008 07:01:55 -0500 (EST)
- Reply-to: hanlonr at cox.net
ContourPlot3D[z == 2 - (x^2 + y^2), {x, -2, 2}, {y, -2, 2}, {z, -1, 2}] Plot3D[2 - (x^2 + y^2), {x, -2, 2}, {y, -2, 2}, RegionFunction -> Function[{x, y, z}, (x^2 + y^2) < 3], BoxRatios -> {1, 1, 1}] Bob Hanlon ---- pcoords29 at gmail.com wrote: ============= Hi, This may sound silly, but I can't get it to work. (I'm using v 6.0) How do I get my 3D plots look as given in textbooks, ie. with the y- axis pointing to the right, the z-axis up and x-axis pointing out of the paper/screen ( showing the first octant)? I mean the kind of plots one draws on paper when working out surface integrals in Calculus classes. If this is of any help, I'd like to get the plot of the paraboloid z = 2-(x^2+y^2), as given in Fig. 10-10 of Spiegel's Advanced Calculus, Schaum Series. I tried Plot3D[2 - (x^2 + y^2), {x, -a, a}, {y, -a, a}], with various values of a. Unfortunately, none of them look like the traditional cap-shaped paraboloid. Thanks for any help. Sid. -- Bob Hanlon