How can I draw two TH2D in a Canvas?

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. :frowning:
How can I do this?



if you mean drawing stacked 2D histograms, you can:
Is this what you are trying to achieve?


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.