Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13780 > unrolled thread
| Started by | "Michael B. Heaney" <mheaney@alum.mit.edu> |
|---|---|
| First post | 2013-03-08 21:46 +0000 |
| Last post | 2013-03-09 10:26 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: dark halo around gaussian peak in Plot3D? "Michael B. Heaney" <mheaney@alum.mit.edu> - 2013-03-08 21:46 +0000
Re: dark halo around gaussian peak in Plot3D? David Reiss <dbreiss@gmail.com> - 2013-03-09 10:26 +0000
| From | "Michael B. Heaney" <mheaney@alum.mit.edu> |
|---|---|
| Date | 2013-03-08 21:46 +0000 |
| Subject | Re: dark halo around gaussian peak in Plot3D? |
| Message-ID | <khdm76$f0g$1@smc.vnet.net> |
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 <hanlonr357@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 <mheaney@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
> > mheaney@alum.mit.edu
> > www.linkedin.com/in/michaelbheaney
> > ----------------------------------------------------------
> >
> >
>
--
----------------------------------------------------------
Michael B. Heaney
3182 Stelling Drive
Palo Alto, CA 94303 USA
mheaney@alum.mit.edu
www.linkedin.com/in/michaelbheaney
----------------------------------------------------------
[toc] | [next] | [standalone]
| From | David Reiss <dbreiss@gmail.com> |
|---|---|
| Date | 2013-03-09 10:26 +0000 |
| Message-ID | <khf2o1$bkr$1@smc.vnet.net> |
| In reply to | #13780 |
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...@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...@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...@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...@alum.mit.edu
> > >www.linkedin.com/in/michaelbheaney
> > > ----------------------------------------------------------
>
> --
> ----------------------------------------------------------
> Michael B. Heaney
> 3182 Stelling Drive
> Palo Alto, CA 94303 USA
> mhea...@alum.mit.eduwww.linkedin.com/in/michaelbheaney
> ----------------------------------------------------------
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web