From Olivier: - In THistPainter::PaintColorLevels the colored boxes might be drawn   outside gPad if their upper limits were smaller than the gPad lower   limits or if their lower limits were bigger than the gPad higher limits.   The following example shows the problem:
From Olivier:
- In THistPainter::PaintColorLevels the colored boxes might be drawn
  outside gPad if their upper limits were smaller than the gPad lower
  limits or if their lower limits were bigger than the gPad higher limits.
  The following example shows the problem:

  void colzsame ()
  {
     TCanvas * c0 = new TCanvas("c0","c0",600,600);
     TH2D * base  = new TH2D("base","base",10,-1,1,10,0.,1.5);
     base->Draw();
     TH2D * h2d = new TH2D("h2d","h2d",10,0.,1.,10,0.,1.);
     gStyle->SetPalette(1);
     for (int i=0; i<10; i++) {
        for (int j=0; j<10; j++) {
           h2d->SetBinContent(i+1,j+1,(i+1)*10.+j+1);
        }
     }
     h2d->Draw("samecolz");
     base->SetAxisRange(0.5,0.7,"X");
     base->SetAxisRange(0.5,0.7,"Y");
  }


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@11271 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT