This is actually very basic and I’ve done it before (a long tme ago) but I can’t find it now; I have a vector of data points that I want to plot with a line plot; however I want the lines to be horizontal and jump between each point so that it basically looks like a histogram. I thought I could just use plot() with a certain linespec, but I can’t find one that fits. Ideas?
Share
I believe the function you are looking for is
stairs: