Markers in a stairstep graph
I am trying to set markers for data points in a stairstep graph. What I want to get is similar to what is given in Matlab documentation:
By running this what I get is however:
So also non-data points are marked. Any idea what is wrong?