- Apply the valid fix suggested here: https://savannah.cern.ch/bugs/?25788   "TGraph::PaintGrapHist shifts points by half-a-bin when painting    lines in low-res". The following macro show the problem:
- Apply the valid fix suggested here: https://savannah.cern.ch/bugs/?25788
  "TGraph::PaintGrapHist shifts points by half-a-bin when painting
   lines in low-res". The following macro show the problem:

   void lowRes(int nbins=10000) {
      c = new TCanvas("lowRes","lowRes",0,0,700,800);
      TH1F *h1 = new TH1F("h1","my histogram",nbins,-3,3);
      for (int i=0;i<1000000;i++) h1->Fill(gRandom->Gaus(0,1));
      h1->SetMarkerStyle(20); h1->Draw("EP");
      TH1F *h12 = h1->DrawCopy("l same");
      h12->SetLineColor(kRed);
      h1->GetXaxis()->SetRange(1,40);
   }

   Before this fix the line plot and the error plot were shifted.


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

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