rulerPlot function

rulerPlot This is an internal function that plots rulers