TH1F *h = new TH1F(“h”,“hist”,100,-3,3);
are OK, but
scale Y axis according to maximum of gaus fit.
How can I draw normalized histogram with “P” (or any other graphic option) scaled according to normalized histogram content? Is it possible to draw normalized fit function also?
Thanks and regards,
I guess you need to scale your histogram first and then fit it (don’t use the “0” fit option if you want to have the function drawn).