staircasePlot function

Display a staircase plot