DateListStepPlot

DateListStepPlot[{{date1,v1},{date2,v2},}]

plots the values vi in steps at a sequence of dates.

DateListStepPlot[{v1,v2,},datespec]

plots the values vi in steps with dates at equal intervals specified by datespec.

DateListStepPlot[tseries]

plots the time series tseries.

DateListStepPlot[{data1,data2,}]

plots data from all the datai.

DateListStepPlot[,step]

plots using steps specified by step.

DateListStepPlot[{,w[datai],}]

plots data datai with features defined by the symbolic wrapper w.

Details and Options

Examples

open all close all

Basic Examples  (4)

Create a plot that stays level until the next date:

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

Draw the date points in the middle of the steps:

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

Plot monthly values, starting in August 2000:

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

Plot multiple curves with a legend:

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

Add labels for each data:

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

Plot curves without the vertical segments:

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

Scope  (43)

Options  (52)

Applications  (7)

Properties & Relations  (4)

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