- PaintColorLevels: The modifications made in Revision 1.198 to   "take into account the option set by TStyle::SetHistMinimumZero"   is not appropriate for PaintColorLevels. It screws up completly the   correspondance between the color plot and the palette. The bad matching   was even worst with histogram having negative contents. Like in the   following example:   {    TH2F* histo = new TH2F( "histo", "histo", 3, 0.0, 3.0, 2, 0.0, 2.0 );    Int_t dummy;    dummy = histo->GetBin( 1, 1 );    histo->SetBinContent( dummy, -100.0 );    dummy = histo->GetBin( 2, 1 );    histo->SetBinContent( dummy, -90.0 );    dummy = histo->GetBin( 3, 1 );    histo->SetBinContent( dummy, 12.0 );    dummy = histo->GetBin( 1, 2 );    histo->SetBinContent( dummy, 45.0 );    dummy = histo->GetBin( 2, 2 );    histo->SetBinContent( dummy, 75.0 );    dummy = histo->GetBin( 3, 2 );    histo->SetBinContent( dummy, 100.0 );    gStyle->SetPalette( 1, 0 );    histo->Draw("colz");    histo->Draw("textsame");   }
- PaintColorLevels: The modifications made in Revision 1.198 to
  "take into account the option set by TStyle::SetHistMinimumZero"
  is not appropriate for PaintColorLevels. It screws up completly the
  correspondance between the color plot and the palette. The bad matching
  was even worst with histogram having negative contents. Like in the
  following example:
  {
   TH2F* histo = new TH2F( "histo", "histo", 3, 0.0, 3.0, 2, 0.0, 2.0 );
   Int_t dummy;
   dummy = histo->GetBin( 1, 1 );
   histo->SetBinContent( dummy, -100.0 );
   dummy = histo->GetBin( 2, 1 );
   histo->SetBinContent( dummy, -90.0 );
   dummy = histo->GetBin( 3, 1 );
   histo->SetBinContent( dummy, 12.0 );
   dummy = histo->GetBin( 1, 2 );
   histo->SetBinContent( dummy, 45.0 );
   dummy = histo->GetBin( 2, 2 );
   histo->SetBinContent( dummy, 75.0 );
   dummy = histo->GetBin( 3, 2 );
   histo->SetBinContent( dummy, 100.0 );
   gStyle->SetPalette( 1, 0 );
   histo->Draw("colz");
   histo->Draw("textsame");
  }


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@14978 27541ba8-7e3a-0410-8455-c3a389f83636

abhinavmoudgil95/root,davidlt/root,Duraznos/root,mhuwiler/rootauto,omazapa/root,zzxuanyuan/root-compressor-dummy,alexschlueter/cern-root,smarinac/root,Y--/root,zzxuanyuan/root-compressor-dummy,Dr15Jones/root,mhuwiler/rootauto,beniz/root,arch1tect0r/root,pspe/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,gganis/root,Duraznos/root,mhuwiler/rootauto,jrtomps/root,perovic/root,omazapa/root-old,CristinaCristescu/root,arch1tect0r/root,gganis/root,tc3t/qoot,thomaskeck/root,mattkretz/root,lgiommi/root,pspe/root,lgiommi/root,sawenzel/root,karies/root,gganis/root,simonpf/root,mattkretz/root,sawenzel/root,esakellari/root,Dr15Jones/root,evgeny-boger/root,Duraznos/root,ffurano/root5,kirbyherm/root-r-tools,evgeny-boger/root,sirinath/root,simonpf/root,dfunke/root,Y--/root,bbockelm/root,olifre/root,gbitzes/root,perovic/root,sawenzel/root,bbockelm/root,smarinac/root,davidlt/root,sawenzel/root,kirbyherm/root-r-tools,smarinac/root,buuck/root,gganis/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,olifre/root,mhuwiler/rootauto,sirinath/root,gganis/root,mattkretz/root,Dr15Jones/root,bbockelm/root,tc3t/qoot,satyarth934/root,cxx-hep/root-cern,krafczyk/root,arch1tect0r/root,agarciamontoro/root,strykejern/TTreeReader,mkret2/root,davidlt/root,beniz/root,olifre/root,veprbl/root,Y--/root,mkret2/root,Y--/root,root-mirror/root,sbinet/cxx-root,jrtomps/root,pspe/root,BerserkerTroll/root,veprbl/root,tc3t/qoot,veprbl/root,thomaskeck/root,tc3t/qoot,davidlt/root,omazapa/root-old,0x0all/ROOT,smarinac/root,mkret2/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,sbinet/cxx-root,0x0all/ROOT,pspe/root,mkret2/root,ffurano/root5,gbitzes/root,gbitzes/root,gganis/root,perovic/root,esakellari/root,agarciamontoro/root,alexschlueter/cern-root,georgtroska/root,root-mirror/root,esakellari/my_root_for_test,dfunke/root,olifre/root,georgtroska/root,abhinavmoudgil95/root,esakellari/my_root_for_test,simonpf/root,BerserkerTroll/root,veprbl/root,zzxuanyuan/root,krafczyk/root,simonpf/root,ffurano/root5,krafczyk/root,Duraznos/root,olifre/root,esakellari/my_root_for_test,nilqed/root,pspe/root,dfunke/root,thomaskeck/root,sirinath/root,veprbl/root,zzxuanyuan/root,nilqed/root,beniz/root,georgtroska/root,CristinaCristescu/root,gbitzes/root,abhinavmoudgil95/root,ffurano/root5,strykejern/TTreeReader,agarciamontoro/root,evgeny-boger/root,Y--/root,karies/root,mhuwiler/rootauto,omazapa/root,gbitzes/root,bbockelm/root,alexschlueter/cern-root,krafczyk/root,BerserkerTroll/root,veprbl/root,abhinavmoudgil95/root,olifre/root,jrtomps/root,zzxuanyuan/root,evgeny-boger/root,mattkretz/root,omazapa/root-old,cxx-hep/root-cern,veprbl/root,zzxuanyuan/root-compressor-dummy,nilqed/root,cxx-hep/root-cern,gbitzes/root,smarinac/root,sirinath/root,esakellari/root,lgiommi/root,vukasinmilosevic/root,kirbyherm/root-r-tools,simonpf/root,sirinath/root,arch1tect0r/root,lgiommi/root,abhinavmoudgil95/root,zzxuanyuan/root,zzxuanyuan/root,omazapa/root,satyarth934/root,agarciamontoro/root,Duraznos/root,BerserkerTroll/root,agarciamontoro/root,beniz/root,0x0all/ROOT,simonpf/root,arch1tect0r/root,dfunke/root,evgeny-boger/root,gganis/root,nilqed/root,davidlt/root,BerserkerTroll/root,mkret2/root,mattkretz/root,omazapa/root,CristinaCristescu/root,strykejern/TTreeReader,krafczyk/root,karies/root,perovic/root,esakellari/my_root_for_test,simonpf/root,0x0all/ROOT,mattkretz/root,strykejern/TTreeReader,buuck/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,beniz/root,0x0all/ROOT,vukasinmilosevic/root,georgtroska/root,perovic/root,buuck/root,arch1tect0r/root,zzxuanyuan/root,krafczyk/root,root-mirror/root,omazapa/root,karies/root,gganis/root,buuck/root,buuck/root,perovic/root,mkret2/root,mhuwiler/rootauto,buuck/root,abhinavmoudgil95/root,esakellari/my_root_for_test,mattkretz/root,jrtomps/root,kirbyherm/root-r-tools,agarciamontoro/root,lgiommi/root,mhuwiler/rootauto,Duraznos/root,beniz/root,sawenzel/root,sbinet/cxx-root,tc3t/qoot,tc3t/qoot,evgeny-boger/root,lgiommi/root,agarciamontoro/root,omazapa/root-old,gbitzes/root,sawenzel/root,smarinac/root,sbinet/cxx-root,sawenzel/root,ffurano/root5,davidlt/root,vukasinmilosevic/root,sirinath/root,omazapa/root,veprbl/root,pspe/root,tc3t/qoot,thomaskeck/root,CristinaCristescu/root,dfunke/root,bbockelm/root,Dr15Jones/root,nilqed/root,esakellari/root,sbinet/cxx-root,strykejern/TTreeReader,zzxuanyuan/root,simonpf/root,strykejern/TTreeReader,jrtomps/root,mkret2/root,olifre/root,mhuwiler/rootauto,kirbyherm/root-r-tools,sbinet/cxx-root,esakellari/my_root_for_test,gbitzes/root,jrtomps/root,Y--/root,thomaskeck/root,veprbl/root,karies/root,satyarth934/root,mattkretz/root,esakellari/root,satyarth934/root,vukasinmilosevic/root,krafczyk/root,mhuwiler/rootauto,tc3t/qoot,gganis/root,kirbyherm/root-r-tools,evgeny-boger/root,Duraznos/root,mkret2/root,smarinac/root,omazapa/root,evgeny-boger/root,agarciamontoro/root,buuck/root,sawenzel/root,strykejern/TTreeReader,alexschlueter/cern-root,zzxuanyuan/root,pspe/root,esakellari/root,nilqed/root,davidlt/root,vukasinmilosevic/root,abhinavmoudgil95/root,omazapa/root-old,esakellari/my_root_for_test,alexschlueter/cern-root,georgtroska/root,omazapa/root-old,sbinet/cxx-root,omazapa/root-old,BerserkerTroll/root,gganis/root,0x0all/ROOT,mattkretz/root,simonpf/root,beniz/root,nilqed/root,karies/root,vukasinmilosevic/root,beniz/root,karies/root,esakellari/my_root_for_test,mattkretz/root,pspe/root,dfunke/root,CristinaCristescu/root,abhinavmoudgil95/root,thomaskeck/root,beniz/root,evgeny-boger/root,dfunke/root,CristinaCristescu/root,Duraznos/root,lgiommi/root,BerserkerTroll/root,sirinath/root,omazapa/root,esakellari/root,tc3t/qoot,satyarth934/root,Dr15Jones/root,bbockelm/root,olifre/root,omazapa/root,satyarth934/root,sbinet/cxx-root,sirinath/root,root-mirror/root,CristinaCristescu/root,cxx-hep/root-cern,Y--/root,smarinac/root,bbockelm/root,lgiommi/root,satyarth934/root,perovic/root,dfunke/root,0x0all/ROOT,gbitzes/root,abhinavmoudgil95/root,BerserkerTroll/root,buuck/root,jrtomps/root,omazapa/root-old,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,davidlt/root,simonpf/root,sbinet/cxx-root,jrtomps/root,alexschlueter/cern-root,krafczyk/root,sirinath/root,root-mirror/root,esakellari/root,omazapa/root-old,buuck/root,mkret2/root,jrtomps/root,krafczyk/root,agarciamontoro/root,krafczyk/root,0x0all/ROOT,evgeny-boger/root,davidlt/root,dfunke/root,smarinac/root,georgtroska/root,BerserkerTroll/root,veprbl/root,thomaskeck/root,BerserkerTroll/root,root-mirror/root,CristinaCristescu/root,ffurano/root5,perovic/root,vukasinmilosevic/root,esakellari/root,perovic/root,sbinet/cxx-root,esakellari/my_root_for_test,georgtroska/root,nilqed/root,sawenzel/root,veprbl/root,root-mirror/root,perovic/root,root-mirror/root,gganis/root,satyarth934/root,lgiommi/root,zzxuanyuan/root,pspe/root,CristinaCristescu/root,Y--/root,arch1tect0r/root,agarciamontoro/root,satyarth934/root,root-mirror/root,mkret2/root,olifre/root,abhinavmoudgil95/root,pspe/root,arch1tect0r/root,vukasinmilosevic/root,arch1tect0r/root,Y--/root,karies/root,thomaskeck/root,cxx-hep/root-cern,Y--/root,thomaskeck/root,CristinaCristescu/root,mhuwiler/rootauto,agarciamontoro/root,root-mirror/root,dfunke/root,BerserkerTroll/root,arch1tect0r/root,georgtroska/root,root-mirror/root,karies/root,beniz/root,nilqed/root,olifre/root,thomaskeck/root,evgeny-boger/root,vukasinmilosevic/root,esakellari/root,mhuwiler/rootauto,CristinaCristescu/root,vukasinmilosevic/root,cxx-hep/root-cern,cxx-hep/root-cern,Dr15Jones/root,davidlt/root,bbockelm/root,cxx-hep/root-cern,omazapa/root,lgiommi/root,davidlt/root,zzxuanyuan/root-compressor-dummy,sawenzel/root,zzxuanyuan/root,dfunke/root,Dr15Jones/root,sirinath/root,georgtroska/root,gbitzes/root,alexschlueter/cern-root,zzxuanyuan/root-compressor-dummy,nilqed/root,Duraznos/root,sbinet/cxx-root,mkret2/root,Y--/root,omazapa/root,satyarth934/root,0x0all/ROOT,perovic/root,buuck/root,arch1tect0r/root,georgtroska/root,buuck/root,mattkretz/root,bbockelm/root,gbitzes/root,bbockelm/root,lgiommi/root,nilqed/root,zzxuanyuan/root,Duraznos/root,sawenzel/root,jrtomps/root,olifre/root,smarinac/root,sirinath/root,omazapa/root-old,zzxuanyuan/root,kirbyherm/root-r-tools,jrtomps/root,Duraznos/root,beniz/root,esakellari/my_root_for_test,pspe/root,karies/root,zzxuanyuan/root-compressor-dummy,karies/root,georgtroska/root,ffurano/root5,esakellari/root,tc3t/qoot,omazapa/root-old,simonpf/root