A problem about draw histogram

Dear experts,

I want to fill and draw a 1D histogram h1 in a loop. I suppose there should be two lines be drawn on the canva, one is for i=1, the other is for i=2, but actually only the second line be drawn. I don’t know why.

here is my code:

Try DrawClone, and don’t do “SAME” for the first one:

    if i==1:
        h.DrawClone("HIST same")

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.