Should modify the code so that the first and last ticks are effectively
plotted when defined.