Scale main TAxis with a user defined function

Hello ROOTers
I’m wondering whether ther is a way to scale the main X/Y axis in a pad using a user defined function (the same way it happens using SetLogX/Y, so with all data and TF1s scaling as well).

Thank you
Leonardo

Hi,
This is not possible directly in ROOT, you would need to do the scaling yourself.

Lorenzo

1 Like