ListStepPlot

ListStepPlot[{y1,y2,}]

plots the values y1, y2, in steps at points 1, 2, .

ListStepPlot[{{x1,y1},{x2,y2},}]

plots the values y1, y2, in steps at points x1, x2, .

ListStepPlot[{data1,data2,}]

plots data from all the datai.

ListStepPlot[data,step]

plots using steps specified by step.

ListStepPlot[{,w[datai,],}]

plots datai with features defined by the symbolic wrapper w.

Details and Options

Examples

open allclose all

Basic Examples  (5)

Create a plot that stays level until the next point:

In[1]:=
Click for copyable input
Out[1]=

Draw the points in the middle of the steps:

In[1]:=
Click for copyable input
Out[1]=

Specify and coordinates:

In[1]:=
Click for copyable input
Out[1]=

Plot multiple curves with a legend:

In[1]:=
Click for copyable input
Out[1]=

Plot curves without the vertical segments:

In[1]:=
Click for copyable input
Out[1]=

Scope  (38)

Options  (76)

Applications  (5)

See Also

ListLinePlot  DiscretePlot  DateListStepPlot  Interpolation  BarChart  UnitStep  Floor  Ceiling

Introduced in 2015
(10.2)
| Updated in 2016
(10.4)