Indeed I found a way to do it:
{
TH2F *h1 = new TH2F("h1","",40,0,10,40,0,10);
TH2F *h2 = new TH2F("h2","",40,0,10,40,0,10);
h1->SetStats(kFALSE);
h2->SetStats(kFALSE);
for(int i =0; i<1000; i++) {
h1->Fill(gRandom->Gaus(6,1),gRandom->Gaus(6,1));
h2->Fill(gRandom->Gaus(2,.5),gRandom->Gaus(2,.5));
}
TCanvas* c1 = new TCanvas("Test", "Test", 800, 800);
h2->SetLineColorAlpha(22,0.);
h2->SetContour(60);
h2->SetContourLevel(0, 0.1);
h1->Draw("LEGO2Z0");
TPad *pad2 = new TPad("pad2","",0,0,1,1);
ci = 1181;
color = new TColor(ci, 0.52, 0.76, 0.64, " ", 0);
pad2->SetFillColor(ci);
pad2->SetFillStyle(4000);
pad2->SetBorderMode(0);
pad2->SetBorderSize(2);
pad2->SetFrameFillColor(0);
pad2->SetFrameBorderMode(0);
pad2->SetFrameFillColor(0);
pad2->Draw();
pad2->cd();
h2->Draw("SURF3 FB BB A");
}
may be the macro can be simplified a bit …