From Olivier: - Bug fixed in PaintPalette. Hparam.zmin and Hparam.zmax were used instead of the real minimum and maximum of the histogram. This produced wrong palette painting. The zmin and zmax in Hparam were used to handle Log option on z axis. This is not necessary because if the maximum of the histogram is <= 0 nothing is painted, and in the case where maximum is >0 and the minimum <= 0, TH1::GetMinimum returns a positive value equal to max/1000.
From Olivier:
- Bug fixed in PaintPalette. Hparam.zmin and Hparam.zmax were used instead
of the real minimum and maximum of the histogram. This produced wrong
palette painting. The zmin and zmax in Hparam were used to handle Log
option on z axis. This is not necessary because if the maximum of the
histogram is <= 0 nothing is painted, and in the case where maximum is >0
and the minimum <= 0, TH1::GetMinimum returns a positive value equal to
max/1000.

- 2d functions painted with option COL produced empty boxes instead of
filled color boxes. This was a side effect of a change in the function
constructor in which the fill style is now set to "empty".
fH->SetFillStyle(1);
has been added in PaintColorLevels to fix that.

- In DefineColorLevels "theColor" should be computed as:
theColor = Int_t((i+0.99)....
to be compatible with the same value computed in PaintPalette

- A similar problem occurred in PaintContour. "theColor" was computed as:
Int_t((ipoly+1.99)... instead of: Int_t((ipoly+0.99) ...


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

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