Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2010

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

Search the Archive

Re: plot colored ellipsoid

  • To: mathgroup at
  • Subject: [mg110855] Re: plot colored ellipsoid
  • From: "David Park" <djmpark at>
  • Date: Thu, 8 Jul 2010 20:33:16 -0400 (EDT)

This comes about because Ellipsoid is returned as a Graphic instead of as a
graphics primitive, and because it builds in a color directive. It might be
better if they left the color directive out and let the user specify it.

With Presentations we can turn the Ellipsoid into a primitive and kill off
the purple by using the DrawGraphics command. 


We define a new draw command to draw Ellipsoids.

DrawEllipsoid[Ellipsoid[args__]] := 

Then it is easy to draw as many Ellipsoids as we want, each in their own

   Ellipsoid[{1.4, 1.4}, {1.4, 5.7}, {{-0.7, 0.6}, {-0.6, -0.7}}]],
   Ellipsoid[{1.3, 2.8}, {1.4, -5.7}, 2 {{0.7, -0.6}, {6.6, -0.7}}]]},
 ImageSize -> 250] 

David Park
djmpark at  

From: J. Batista [mailto:jbatista800 at] 

You are correct, I was not able to change the colors either.  I also tried
plotting several ellipsoids together, but they all had the same standard
color.  This may be an indication that the Multivariate Statistics
package may not support all graphic primitives.  Mathematica version 6
produced the same results.
J. Batista

On Wed, Jul 7, 2010 at 7:41 AM, Jordi <j.schaber at> wrote:

> Hi,
> For some reason I cannot color my ellipsoid.
> I use, e.g.,
> Graphics[{Black,
>  Ellipsoid[{1.4, 1.4}, {1.4, 5.7}, {{-0.7, 0.6}, {-0.6, -0.7}}]}]
> Other graphics options like 'Thick' or 'Dashed' pose no problem, but it
> always comes with the standard color.
> any idea?
> Thanks

  • Prev by Date: Re: More flexibility in placement of ChartLegend
  • Next by Date: Re: FindMinimum numerical constraint functions
  • Previous by thread: Re: plot colored ellipsoid
  • Next by thread: Documentation build in Workbench