MathGroup Archive 2008

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

Search the Archive

Re: Point is not a Graphics primitive?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85185] Re: Point is not a Graphics primitive?
  • From: deepyogurt at gmail.com
  • Date: Thu, 31 Jan 2008 05:43:11 -0500 (EST)
  • References: <fnrnkn$oim$1@smc.vnet.net>

On Jan 30, 10:51=A0pm, "Kevin J. McCann" <Kevin.McC... at umbc.edu> wrote:
> The following gives me an error. I would have thought that Point was a
> Graphics primitive, but vers 6 says no. Any help would be appreciated.
> BTW a 2D equivalent works fine.
> Plot3D[Sin[x y], {x, -2, 2}, {y, -2, 2},
> =A0 Epilog -> {Red, AbsolutePointSize[7], Point[{0, 0, 0}]}]
>

Epilog is rendered as 2D graphics after the 3D stuff is, and is in the
coordinate space of [0,1]. Not sure why you get the error message.

I am guessing you wanted a red dot in the middle of the 3D sinusoidal
curve. In Mathematica 6.0 you could do something like:

g1 = Plot3D[Sin[x y], {x, -3, 3}, {y, -2, 2}];
g2 = Graphics3D[{Hue[0], Sphere[{0, 0, 0}, .1]}];
Show[g2, g1]

-Bob


  • Prev by Date: Re: Strange behaviour of Solve without VerifySolutions
  • Next by Date: Re: Mathematica notebooks Windows Desktop Search
  • Previous by thread: Point is not a Graphics primitive?
  • Next by thread: Re: Point is not a Graphics primitive?