Problem with 2D plot values

Hi @couet, thank you for your help.

  1. The macro currently works, but when I add
 TH1 *hh2 = henecdsubstringcutrelTHFsumdiff->DrawCopy("colz"); // creates all axes
         TPaletteAxis * palette2 = (TPaletteAxis *) hh2->GetListOfFunctions()->FindObject("palette");
         palette2->SetX2NDC(0.93);
         gPad->Modified();
         gPad->Update(); // make sure it's really (re)drawn
         c25->Modified();
         c25->Update();
         henecdsubstringcutrelTHFsumdiff->SetName(heneabname);
         gPad->Modified();
         gPad->Update(); // make sure it's really (re)drawn

to move also the second palette, it crashes again;
2. can you say me the useless code?
3. I would like to set the mark size. I wrote

henecdsubstringcutrelTHFsumdiff->SetMarkerSize(20);

but it doesn’t look to change…

  1. Please, can you check also this post please? Set energy 0 in a sum