Plots with staircase line

how to draw a TGraph in a “staircase” style?
I mean something like this
See EAS-TOP data in panel (b): the two staircase lines describe the plus/minus error bounds. Each step corresponds to a “point”, but no marker is actually shown. How to make such a plot with Root?
(a shaded band would be fine too, provided that it’s staircased and not smooted).in the middle.

the staircase line makes sense only in case of binned data (ie histogram).
Use a TH1 instead of a TGraph


A post was split to a new topic: Stair plot from KS test