Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

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 OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (5)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]=
Introduced in 2015
(10.2)
| Updated in 2016
(10.4)