Re: Plot3D Problem with Nonreal Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg20045] Re: Plot3D Problem with Nonreal Numbers
- From: "Seth Chandler" <Schandler at uh.edu>
- Date: Sat, 25 Sep 1999 18:46:08 -0400
- Organization: University of Houston
- References: <7shqcb$1rn@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You might want to try the package ContourPlot3D.
Needs["Graphics`ContourPlot3D`"]
ContourPlot3D[x^2 - y^2 + z^2, {x, -10, 10}, {y, -10, 10}, {z, -10, 10},
Contours -> {4}]
I'm not a mathematician either.
Seth J. Chandler
Associate Professor of Law
University of Houston Law Center
JAM <jmac at tiac.net> wrote in message news:7shqcb$1rn at smc.vnet.net...
> Greetings All!
> I'm hoping you can help this struggling artist generate this 3D plot
> destined for a calculus textbook. If the author had provided me with a
> notebook file I wouldn't have to be bothering you, but he didn't. All I
> have is a sketch of something that resembles two funnels joined at the
> narrow end and this equation:
>
> x^2 - y^2 + z^2 = 4
>
> I have solved for z and used the results in Plot3D but this generates an
> error for the points that are not real numbers and only a portion of the
> plot is drawn.
> The question is, is there a way to make Mathematica ignore the solutions
> that are not real? Or is there some other technique I should be using to
> render this graphic.
> Be gentle. Remember I'm an artist, not a mathematician.
> Thanks in advance for any and all assistance.
> --Jim
>