TH2 color code

Hi rooters,

I have two TH2D histograms (colz style). On histo has z axis range (0 to 4) and the other (0 to 8). Is there a way to set both axis to (0 to 10), so that the color code, which is used to plot the data, is comparable in both histos?

Thanks in advance!

Benedikt

To set teh same color scale for your 2 histograms, simply set a common min/max

h1->SetMinimum(0); h1->SetMaximum(10); h2->SetMinimum(0); h2->SetMaximum(10);
Rene