MathGroup Archive 1999

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

Search the Archive

Re: Contour Plotting on a sphere

  • To: mathgroup at smc.vnet.net
  • Subject: [mg15320] Re: Contour Plotting on a sphere
  • From: sidles at u.washington.edu (John Sidles)
  • Date: Fri, 8 Jan 1999 04:15:10 -0500
  • Organization: University of Washington, Seattle
  • References: <76cih0$o3s@smc.vnet.net> <76fgab$t54@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I have had very good luck exporting Mathematica contour plots as
bitmaps, then rendering the bitmap in the public-domain raytracing
program POV-ray, available for most platforms at

             http://www.povray.org/

The POV-ray syntax for my application looks like:

#declare deepEnergyDissipationSquare = polygon {
    5, <0, 0>, <0, 1>, <1, 1>, <1, 0>, <0, 0>
    texture { 
        finish { ambient 0.4 diffuse 0.4 specular 0.2 }
        pigment{image_map { gif "Dissipation.GIF" transmit all 0.3}}}

Here the file "Dissipation.GIF" is a Mathematica bitmap.

In POV-ray, image_maps can be rotated, scaled, wrapped onto a sphere or
cylinder, made transparent  ... pretty much anything  you want.  It
makes a nice adjunct for Mathematica. There is a learning curve,
though.

Good luck ... JAS





  • Prev by Date: Plotting cube root (was: Why is this so?)
  • Next by Date: Re: Why is this so?
  • Previous by thread: Plotting cube root (was: Why is this so?)
  • Next by thread: Re: ``Live'' Graphics