Drawing a TF1, one way works, the other doesn't!

Hi everyone,

I’m trying to figure out why this doesn’t produce the same output.
Essentially in one case the TF1 is declared in the usual fashion, in the other it is declared through a function. The black rate is correct, the green is wrong. I can’t find a mistake, could it be a root bug?
Nasser.C (664 Bytes)

Here’s the sample output I get on my machine
Weird.ps (9.77 KB)

Hi,

try using only floats in your exponents (i.e. 1./3. instead of 1/3).

Thomas