Question about trees

As far as I know, root file has different trees and also different trees have different leaves. Leaves correspond to a histogram. I want to draw different two leaves together. For example, l1 corresponds to the x axis, l2 corresponds to the y axis. How can I do it in the kWrite?

Thanks

tree->Draw("l2:l1");

It works. I really appreciate that.

ROOT User’s Guide -> Trees -> Simple Analysis Using TTree::Draw

1 Like

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