Hello expert rooters;
I have two TH2D histograms which I want to draw them in a canvas with different colors, but stacked histograms are suited just for TH1.
How can I do this?
thanks
Hello expert rooters;
I have two TH2D histograms which I want to draw them in a canvas with different colors, but stacked histograms are suited just for TH1.
How can I do this?
thanks
Hi,
if you mean drawing stacked 2D histograms, you can: root.cern.ch/doc/master/classTHStack.html
Is this what you are trying to achieve?
Danilo
As Danilo pointed Stacked-histograms are also valid for TH2. The 2nd picture in the page Danilo sent you shows that. Now you should tell what kind of representation you are looking color ? Stack with 2D will produce a lego plot.