Tick generator using interval.

Close #1166.
Should probably change to 
"Generates ticks at multiples of the interval while also including the domain boundaries"