[metapost] Plotting a Gaussian Distribution in MetaPost

Hartmut Henkel hartmut_henkel at gmx.de
Fri Nov 9 19:57:22 CET 2007


On Fri, 9 Nov 2007, Hartmut Henkel wrote:

> On Thu, 8 Nov 2007, Kevin Liu wrote:
>
> > Do you know of any solutions to this problem? Could this be a symptom
> > of the very small numbers involved?
>
> maybe. Don't forget that the mexp() function uses its argument divided

> def log(expr i) = (i,100*mexp(-i*i))enddef;

whereas giving this macro the name "log" is nonsense, sorry.

Regards, Hartmut


More information about the metapost mailing list