MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: 4D plotting ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83049] Re: 4D plotting ?
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Thu, 8 Nov 2007 06:17:01 -0500 (EST)
  • References: <fgs7o1$3ht$1@smc.vnet.net>

Hoa Bui wrote:
> Hi,
> 
> I have a function of 3 variables f(x,y,z).
> I need to plot f(x,y,z) in 3D {0,x,y,z} and I want to use a color
> scale for the value of f.
> 
> Please, anyone know if this is possible and how to do it?

Your description is not very clear to me.  If you described *exactly* 
the plotting method that you thought about, we could help you implement 
it in Mathematica.

This is one way for examining 3D scalar functions:

Manipulate[
  ContourPlot3D[
   x^2 + y^2 - z^2 == c, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}],
  {{c, 1}, 0, 3}]

(You might want to experiment with the option ContourStyle -> 
Opacity[.5] too.)

Also, search for "volume visualization" or "volume rendering" on Google.

-- 
Szabolcs


  • Prev by Date: StyleSheet Math6 SlideShow: anyone have a nice stylesheet for
  • Next by Date: Re: Color for radial 3d vector field
  • Previous by thread: 4D plotting ?
  • Next by thread: Color for radial 3d vector field