MathGroup Archive 2007

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

Search the Archive

Re: Jagged Spine (MultinormalDistribution)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82962] Re: Jagged Spine (MultinormalDistribution)
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Mon, 5 Nov 2007 04:59:29 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <fgk9or$pl6$1@smc.vnet.net>

Bruce Colletti wrote:

> Re 6.0.1 under WinXP.
> 
> The spine of the bivariate normal distribution below is jagged, even when PlotPoints is set to 50 (took awhile to build).  Altering MaxRecursions is likewise no help.  
> 
> Is there a way to get a quickly-plotted smooth spine without resorting to high values of PlotPoints?  Thankx.
> 
> Bruce
> 
> 
> Needs@"MultivariateStatistics`";
> 
> Plot3D[PDF[MultinormalDistribution[{0, 0}, {{5, -3},{-3, 2}},{x, y}], {x, -4, 4}, {y, -4, 4}, PlotRange -> All, 
---------------------------------------------------------------------^
Missing square bracket.

>  PlotPoints -> 50]

Even after having fixed the syntax, the following returns an empty plot 
(just the axes are drawn).

Needs["MultivariateStatistics`"];
Plot3D[PDF[MultinormalDistribution[{0, 0}, {{5, -3}, {-3, 2}},
        {x, y}]], {x, -4, 4}, {y, -4, 4}, PlotRange -> All,
    PlotPoints -> 50]

So, what did you do before that? Did your try the command above with a 
fresh kernel?

Cheers,
-- 
Jean-Marc


  • Prev by Date: Re: Simple equation won't plot
  • Next by Date: Re: The uses of Condition (/;)
  • Previous by thread: Jagged Spine (MultinormalDistribution)
  • Next by thread: Re: Jagged Spine (MultinormalDistribution)