Write names on the x label instead of the numbers

Ok, @dastudillo I did it following your code and adding this @couet’s code SetBinLabel, labels disapear if read and write, update TGraph - #3 by bartosz546


Int_t bin1= graph->GetXaxis()->FindBin(1);
          Int_t bin2= graph->GetXaxis()->FindBin(2);
               Int_t bin3= graph->GetXaxis()->FindBin(3);

The problem is that cathetometer is so long then it’s cutted

is it possible to rotate (45°) the names so that “cathetometer” will not be cutted? Thank you