A figure of double y-axis was drawn, the figure is:
how to set logarithm label for right y-axis?
ROOT Version: 6.28/04
Platform: Ubuntu 20.04
Compiler: GCC 9.4.0
A figure of double y-axis was drawn, the figure is:
ROOT Version: 6.28/04
Platform: Ubuntu 20.04
Compiler: GCC 9.4.0
By the way, in the process of plotting the figure, the minimum and maximum of the y-axis are needed, but the maximum from the solution TGraph::GetMaximum() is -1111, so how to get the the minimum and maximum of the y-axis?
Without seeing the code you used, it’s hard to help. Check this, maybe that works.
I suppose you are drawing the right axis using TGaxis ? in that case the option “G” is required when you define the axis (see doc).
https://root.cern/doc/v632/classTGaxis.html#GA02
@couet ,thanks, it works well!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.