Dear ROOTers,
my final aim is to have a plot with, on the y axis, a cubic-root scale, analog to the log scale: I would like the labels to be plot at the position of their cubic root (as in the log scale, the labels are put in the position of their logarithm).
I have two problems in doing it. The first one is that I still did not figure out how to do it exactly, the second one is that even with my intermediate attempt I am having hard times understanding what’s happening.
Please check the example I attached to the message.
Here, I would simply like to have a vertical axis overlapped to the y axis, covering the same range, and applying the identity function to the labels. Unfortunately, it does not work:
- the range is not large enough (the red line is shorter than the black one)
- the labels do not appear, for an error that I cannot understad.
Could you please help me fix my problem, or provide me with an example of my objective?
Best regards,
pietro
testaxis.cpp (1.2 KB)
ROOT Version: ROOT 6.18/05
Platform: macosx
Compiler: Apple clang version 11.0.3 (clang-1103.0.32.29)