Hi everyone,
I wanted to use TTree::Draw() to make histograms with variable bins. When I declare separate histograms for different Draw commands, I get what I'm trying to achieve.
But when I try to reuse one histogram, subsequent Draw commands don't respect the original variable binning and draws with a default linear binning with a 100 bins.
How can I achieve this?
PS: I need to reuse the histogram as my real use case is in a macro where a method loops over multiple TNtuples in a root file and gives me histograms one after another, which I put on a stack.
-- Suvayu Open source is the future. It sets us free.Received on Sat Sep 04 2010 - 21:39:28 CEST
- text/x-c++src attachment: draw-test.C
This archive was generated by hypermail 2.2.0 : Tue Sep 07 2010 - 23:50:01 CEST