Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Filling leaves a gap between the function curve and the axis

Show[Plot[PDF[NormalDistribution[0, 1], z], {z, -3, 6}], 
Plot[PDF[NormalDistribution[0, 1], z], {z, c=1.4, 6}, Filling -> Axis]

enter image description here

But for other values (e.g., c=0.5 instead of c=1.4 in the above code), the Filling is correct. Is this a bug or am I making some subtle error?

share|improve this question
Add PlotRange -> All to the second plot. – Alexey Popkov Apr 6 '14 at 16:42
PlotRange->All works. thanks! – user13484 Apr 6 '14 at 16:52
Effectively duplicate of – Szabolcs Apr 6 '14 at 20:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.