Re: No Show
- To: mathgroup at smc.vnet.net
- Subject: [mg89104] Re: [mg89100] No Show
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Mon, 26 May 2008 01:28:03 -0400 (EDT)
- Reply-to: hanlonr at cox.net
Use
Show[{top, bot}, PlotRange -> All]
Alternatively, use
Plot3D[{Sqrt[1 - (x^2 + y^2)],
-Sqrt[1 - (x^2 + y^2)]},
{x, -1, 1}, {y, -1, 1}]
Or more compactly,
Plot3D[{1, -1} Sqrt[1 - (x^2 + y^2)],
{x, -1, 1}, {y, -1, 1}]
Bob Hanlon
---- Narasimham <mathma18 at hotmail.com> wrote:
> Why is the following plot, bot, (with - Sqrt) not Shown along with
> top?
>
> Why is it treated only as a plot skeleton, so no combining is
> possible?
>
> bot = Plot3D[-Sqrt[1 - (x^2 + y^2) ] , {x, -1, 1}, {y, -1, 1}]
> top = Plot3D[+Sqrt[1 - (x^2 + y^2) ] , {x, -1, 1}, {y, -1, 1}]
> Show[top, bot]
>
> TIA
> Narasimham
>