Hi,
Is there a simple way to skip drawing last number on axis. For I would like to skip drawing this number 2 that is partially hidden.
I know that I can use some TPave to hide such objects, but is there a faster/more efficient way to do this?
Not to skip drawing it if the limit is exactly 2, but you can just do SetMaximum
to a number slightly above 2 (maybe 2.2 in this case) so it is drawn fully, or below 2 so it is not included at all.
Yes there is a simple way. Once the plot is done the Method “ChangeLabel” allows to tune the axis in many ways. And removing the last label is easy. This tutorials shows how to use it.