Re: dark halo around gaussian peak in Plot3D?
- To: mathgroup at smc.vnet.net
- Subject: [mg130103] Re: dark halo around gaussian peak in Plot3D?
- From: David Reiss <dbreiss at gmail.com>
- Date: Sat, 9 Mar 2013 05:27:24 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20130308035122.485BC6797@smc.vnet.net> <khdm76$f0g$1@smc.vnet.net>
It probably has to do with numerical inaccuracies. The problem is removed by "Chop"ing the numerical output: Plot3D[Chop@Evaluate@PDF[BinormalDistribution[0], {x, y}], {x, -40, 40}, {y, -40, 40}, PlotRange -> All, PlotPoints -> 50] --David On Mar 8, 4:46 pm, "Michael B. Heaney" <mhea... at alum.mit.edu> wrote: > Here is simple example that demonstrates the problem: > > Plot3D[PDF[BinormalDistribution[0], {x, y}], {x, -40, 40}, {y, -40, 40}, > > PlotRange -> All, PlotPoints -> 200] > > Thanks, > > Michael > > > > > > > > > > On Thu, Mar 7, 2013 at 8:49 PM, Bob Hanlon <hanlonr... at gmail.com> wrote: > > I don't see a "dark halo" with the following > > > Plot3D[ > > PDF[BinormalDistribution[0], {x, y}], > > {x, -3, 3}, {y, -3, 3}] > > > Can you send a simple example that demonstrates the problem? > > > Bob Hanlon > > > On Thu, Mar 7, 2013 at 10:51 PM, Michael B. Heaney <mhea... at alum.mit.edu> > > wrote: > > > > Hi, > > > > When I plot a gaussian peak in Plot3D, there is a dark halo around the > > > peak. Why is this? How can I get rid of it? > > > > Thanks, > > > > Michael > > > > -- > > > ---------------------------------------------------------- > > > Michael B. Heaney > > > 3182 Stelling Drive > > > Palo Alto, CA 94303 USA > > > mhea... at alum.mit.edu > > >www.linkedin.com/in/michaelbheaney > > > ---------------------------------------------------------- > > -- > ---------------------------------------------------------- > Michael B. Heaney > 3182 Stelling Drive > Palo Alto, CA 94303 USA > mhea... at alum.mit.eduwww.linkedin.com/in/michaelbheaney > ----------------------------------------------------------
- References:
- dark halo around gaussian peak in Plot3D?
- From: "Michael B. Heaney" <mheaney@alum.mit.edu>
- dark halo around gaussian peak in Plot3D?