Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Cropping a surface to a sphere

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88199] Re: [mg88172] Cropping a surface to a sphere
  • From: "W_Craig Carter" <ccarter at mit.edu>
  • Date: Mon, 28 Apr 2008 04:38:19 -0400 (EDT)
  • References: <200804270858.EAA15070@smc.vnet.net>

Hell Szabolcs,
In 6, there is the option: RegionFunction -> (#1^2 + #2^2 + #3^2 < 9 &)
Your surface is very pleasing.  If not 6, this would be difficult.

On Sun, Apr 27, 2008 at 4:58 AM, Szabolcs Horv=E1t <szhorvat at gmail.com> wro=
te:
>
>  Is there a simple way to crop a surface to a sphere?
>
>  For example, consider the surface
>
>  ContourPlot3D[
>    -x^4*y^2 + x^2*y^4 + x^4*z^2 - y^4*z^2 -
>     x^2*z^4 + y^2*z^4 == 1,
>    {x, -3, 3}, {y, -3, 3}, {z, -3, 3},
>    Mesh -> False]
>

W. Craig Carter


  • Prev by Date: Re: Enable multicore calculation ?
  • Next by Date: how to use ones(A)?
  • Previous by thread: Cropping a surface to a sphere
  • Next by thread: Re: Cropping a surface to a sphere