Olivier Couet

Results 130 comments of Olivier Couet

Saving it as `.C` also doesn't work.

It fails already now. I am preparing a PR for the `.C` case first ...

This one fixes the .C part: https://github.com/root-project/root/pull/13228

Now we have: ``` auto f = new TF1("x","x",-1,1); f->Draw(); f->GetXaxis()->ChangeLabel(5, -1, -1, -1, -1, -1,"CHANGED"); c1->SaveAs("c1.C"); c1->SaveAs("c1.root"); ``` The changed label is saved in the .C file but not...

Indeed `TF1` the data member `fHistogram` is not persistent (see `TF1.h`) this member holds the axis. Therefore the axis are not persistent too and not saved in the root file....

@lmoneta . In this issue Serguei points out the fact that `TF1::DrawCopy` does not keep the axis labels and titles changes. This is normal because they are stored in the...

@hahnjo it made on on MacOS. (long debug)

I know "c" is supposed to be the default, but this change made a difference on Mac when I debugged it a while ago. I guess it is worth merging.

Results of the latest investigation show that the problem lies in `TTF::PrepareString`. With the new font, the width of a whitespace is significantly larger than it was with the old...

Fixed with https://github.com/root-project/root/pull/15971