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 all close 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  (41)

Options  (81)

Applications  (5)

Introduced in 2015
(10.2)
|
Updated in 2019
(12.0)