Refactoring and addition of label ticks on the axis.