TProfile and lines between bins

Hello,
following the reference manual I tried to get lines between the bins of a TProfile using the option “L” with the draw command. But the TProfile didn’t change. What’s the correct way to do it? I attached an example to try it.
Thanks.
systAll.c (7.07 KB)

use option LHIST

hprofD6T_G_0->Draw("same Lhist");

Rene

Thanks,
that works but not the way I like. I guess the problem is in the way the profile is booked… there are bins with no entries… is there a simple way (without rebooking the histo) to ignore the empty bins?
Ciao

I am not sure of what you want in this case. Please be more specific with an example.

Rene