Hi @couet, thank you for your help.
- 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…
- Please, can you check also this post please? Set energy 0 in a sum