Re: A 3D Plot Query
- To: mathgroup at smc.vnet.net
- Subject: [mg94256] Re: [mg94222] A 3D Plot Query
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Tue, 9 Dec 2008 06:58:06 -0500 (EST)
- Organization: LANL
- References: <200812081122.GAA15850@smc.vnet.net>
- Reply-to: cfo at lanl.gov
Hi, Sid,
Does the following give you what you want?
Plot3D[2 - (x^2 + y^2), {x, -2, 2}, {y, -2, 2},
RegionFunction -> Function[{x, y, z}, x^2 + y^2 <= 2]]
and/or
Plot3D[2 - (x^2 + y^2), {x, -5, 5}, {y, -5, 5}, PlotRange -> {-10, 4},
Boxed -> False,
AxesOrigin -> {0, 0, 0}]
If these work for you, then it's just a matter of Mathematica choosing its clipping range a bit differently than what you'd like. Note that I haven't checked what the Schaum's figure is like; I'm just guessing!
Best of luck,
C.O.
On Monday 08 December 2008 04:22:43 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.
>
>
>
>
>
--
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================
- Follow-Ups:
- Re: Re: A 3D Plot Query
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Re: A 3D Plot Query
- References:
- A 3D Plot Query
- From: pcoords29@gmail.com
- A 3D Plot Query