MathGroup Archive 2000

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

Search the Archive

Re: Filled Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25913] Re: [mg25884] Filled Plot
  • From: Matt.Johnson at autolivasp.com
  • Date: Tue, 7 Nov 2000 23:04:59 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Pedro-

this seems to do what you ask:

In[13]:=
Needs["Statistics`NormalDistribution`"];
Needs["Graphics`FilledPlot`"];
Off[General::spell, General::spell1];
ndist = NormalDistribution[0, 1];
pdf = PDF[ndist, x1];
In[9]:=
fp = FilledPlot[pdf, {x1, 0, 3}, PlotRange -> All];
In[11]:=
np = Plot[pdf, {x1, -3, 3}, PlotRange -> All];
In[12]:=
Show[np, fp];

-matt





"Pedro Ferreira" <pjmferreira at hotmail.com> on 11/07/2000 12:55:56 AM

cc:
Subject: [mg25913]  [mg25884] Filled Plot




Hi,

Can I plot de Normal density function Plot[dist,{x,-3,3}] and then fill
only a region under that curve, for example {x,0,3}?

Thank you.

My e-mail is pjmferreira at hotmail.com







  • Prev by Date: Converting to QuickTime
  • Next by Date: Re: Filled Plot
  • Previous by thread: Re: Filled Plot
  • Next by thread: Re: Filled Plot