2
$\begingroup$

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?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.