DateListStepPlot
✖
DateListStepPlot
plots the values yi in steps with dates at equal intervals specified by datespec.
plots data datai with features defined by the symbolic wrapper w.
Details and Options




- DateListStepPlot plots the data so that each point, including the first and last, is part of a horizontal step.
- Possible forms of datei include:
-
DateObject[…],TimeObject[…] date or time object "string" DateString specification {y,m,d,h,m,s} DateList specification {y},{y,m},{y,m,d},… shortened date list t absolute time given as a single number - In shortened date lists, omitted elements are taken to have default values {y,1,1,0,0,0}.
- Possible forms of datespec include:
-
{start,end} dates from start to end in equal increments {start,Automatic,Δt} dates beginning with start in increments Δt {Automatic,end,Δt} dates ending with end in increments Δt start dates with increments determined by the form of start - The Δt in datespec can be a {y,m,d,h,m,s} date list specification or any of the special forms "Year", "Quarter", "Month", "Week", "Day", "Hour", "Minute", "Second", and "Millisecond".
- If no explicit Δt is given, the increments used will be the smallest time unit specified explicitly in start.
- The following step specifications can be given:
-
Right step extends to the right Left step extends to the left Center step extends to the centers between neighboring points - Data values yi can be given in the following forms:
-
yi a real-valued number Quantity[yi,unit] a quantity with a unit - Values yi that are not of the preceding form are taken to be missing and give gaps in the curve.
- The listi have the following forms and interpretations:
-
<"k1"y1,"k2"y2,… > values {y1,y2,…} SparseArray values as a normal array TimeSeries, EventSeries time-value pairs QuantityArray magnitudes w[datai] wrapper w for dataset datai - DateListStepPlot[Tabular[…]cspec] extracts and plots values from the tabular object using the column specification cspec.
- The following forms of column specifications cspec are allowed for plotting tabular data:
-
{colx,coly} plot column y against column x {{colx1,coly1},{colx2,coly2},…} plot column y1 against column x1, y2 against x2, … coly, {coly} plot column y as a sequence of values {{coly1},…,{colyi},…} plot columns y1, y2, … as sequences of values - The colx can also be Automatic, in which case, sequential values are generated using DataRange.
- The following wrappers w can be used for the listi:
-
Annotation[datai,label] provide an annotation Button[datai,action] define an action to execute when the curve is clicked Callout[datai,label] label the data with a callout EventHandler[datai,…] define a general event handler for the curve Highlighted[datai,effect] dynamically highlight fi with an effect Highlighted[datai,Placed[effect,pos]] statically highlight fi with an effect at position pos Hyperlink[datai,uri] make the curve act as a hyperlink Labeled[e,…] display the curve with labeling Legended[datai,…] identify the curve in a legend PopupWindow[datai,cont] attach a popup window to the curve StatusArea[datai,label] display in the status area when the curve is moused over Style[datai,opts] show the curve using the specified styles Tooltip[datai,label] attach an arbitrary tooltip to the curve - DateListStepPlot takes the same options as Graphics, with the following additions and changes: [List of all options]
-
AspectRatio 1/GoldenRatio ratio of height to width Axes True whether to draw axes ClippingStyle None what to draw when lines are clipped ColorFunction Automatic how to determine the coloring of lines ColorFunctionScaling True whether to scale arguments to ColorFunction DateFunction Automatic how to convert dates to standard form DateTicksFormat Automatic format for date tick labels Filling None filling under each line FillingStyle Automatic style to use for filling IntervalMarkers Automatic how to render uncertainties IntervalMarkersStyle Automatic style for uncertainty elements Frame True whether to put a frame around the plot Joined True whether to join horizontal segments LabelingSize Automatic maximum size of callouts and labels Mesh None how many mesh points to draw on each line MeshFunctions {#1&} how to determine the placement of mesh points MeshShading None how to shade regions between mesh points MeshStyle Automatic the style for mesh points Method Automatic the method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotHighlighting Automatic highlighting effect for curves PlotLabel None overall lable for the plot PlotLabels None labels for data PlotLayout "Overlaid" how to position data PlotLegends None legends for datasets PlotMarkers None markers to use to indicate each point PlotRange Automatic range of values to include PlotRangeClipping True whether to clip at the plot range PlotStyle Automatic graphics directives to determine the style of each line PlotTheme $PlotTheme overall theme for the plot ScalingFunctions None how to scale individual coordinates TargetUnits Automatic units to display in the plot - Possible settings for PlotLayout that show multiple curves in a single plot panel include:
-
"Overlaid" show all the data overlapping "Stacked" accumulate the data "Percentile" accumulate and normalize the data - With the default setting Joined->True, the steps are joined using vertical line segments. Use Joined->False to draw only the steps.
- Use Mesh->Full to draw the points in addition to the steps.
- ScalingFunctions->"scale" scales the
coordinate; ScalingFunctions{"scalex","scaley"} scales both the
and
coordinates.
- All explicit
coordinates in Prolog, Epilog, Ticks, etc. are taken to be dates.
- Possible highlighting effects for Highlighted and PlotHighlighting include:
-
style highlight the indicated curve "Ball" highlight and label the indicated point in a curve "Dropline" highlight and label the indicated point in a curve with droplines to the axes "XSlice" highlight and label all points along a vertical slice "YSlice" highlight and label all points along a horizontal slice Placed[effect,pos] statically highlight the given position pos - Highlight position specifications pos include:
-
x, {x} effect at {x,y} with y chosen automatically {x,y} effect at {x,y} {pos1,pos2,…} multiple positions posi -
AlignmentPoint Center the default point in the graphic to align with AspectRatio 1/GoldenRatio ratio of height to width Axes True whether to draw axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} style specifications for the axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic ClippingStyle None what to draw when lines are clipped ColorFunction Automatic how to determine the coloring of lines ColorFunctionScaling True whether to scale arguments to ColorFunction ContentSelectable Automatic whether to allow contents to be selected CoordinatesToolOptions Automatic detailed behavior of the coordinates tool DateFunction Automatic how to convert dates to standard form DateTicksFormat Automatic format for date tick labels Epilog {} primitives rendered after the main plot Filling None filling under each line FillingStyle Automatic style to use for filling FormatType TraditionalForm the default format type for text Frame True whether to put a frame around the plot FrameLabel None frame labels FrameStyle {} style specifications for the frame FrameTicks Automatic frame ticks FrameTicksStyle {} style specifications for frame ticks GridLines None grid lines to draw GridLinesStyle {} style specifications for grid lines ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels etc. ImageSize Automatic the absolute size at which to render the graphic IntervalMarkers Automatic how to render uncertainties IntervalMarkersStyle Automatic style for uncertainty elements Joined True whether to join horizontal segments LabelingSize Automatic maximum size of callouts and labels LabelStyle {} style specifications for labels Mesh None how many mesh points to draw on each line MeshFunctions {#1&} how to determine the placement of mesh points MeshShading None how to shade regions between mesh points MeshStyle Automatic the style for mesh points Method Automatic the method to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotHighlighting Automatic highlighting effect for curves PlotLabel None overall lable for the plot PlotLabels None labels for data PlotLayout "Overlaid" how to position data PlotLegends None legends for datasets PlotMarkers None markers to use to indicate each point PlotRange Automatic range of values to include PlotRangeClipping True whether to clip at the plot range PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic the final display region to be filled PlotStyle Automatic graphics directives to determine the style of each line PlotTheme $PlotTheme overall theme for the plot PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} primitives rendered before the main plot RotateLabel True whether to rotate y labels on the frame ScalingFunctions None how to scale individual coordinates TargetUnits Automatic units to display in the plot Ticks Automatic axes ticks TicksStyle {} style specifications for axes ticks
List of all options




Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Create a plot that stays level until the next date:

https://wolfram.com/xid/0bnigqfew3hsy-fxh8uc

https://wolfram.com/xid/0bnigqfew3hsy-cw3sr

Draw the date points in the middle of the steps:

https://wolfram.com/xid/0bnigqfew3hsy-tdiyhj

Plot monthly values, starting in August 2000:

https://wolfram.com/xid/0bnigqfew3hsy-rbhwr5

Plot multiple curves with a legend:

https://wolfram.com/xid/0bnigqfew3hsy-h93aog

https://wolfram.com/xid/0bnigqfew3hsy-cs99yg


https://wolfram.com/xid/0bnigqfew3hsy-buhkxi

Plot curves without the vertical segments:

https://wolfram.com/xid/0bnigqfew3hsy-b30dgy

https://wolfram.com/xid/0bnigqfew3hsy-zwnpbe

Scope (45)Survey of the scope of standard use cases
Data (11)
Steps are drawn through the date points:

https://wolfram.com/xid/0bnigqfew3hsy-runfay

https://wolfram.com/xid/0bnigqfew3hsy-l2vyw


https://wolfram.com/xid/0bnigqfew3hsy-j96f3g


https://wolfram.com/xid/0bnigqfew3hsy-map505

Plot a series of data using an initial starting date or time:

https://wolfram.com/xid/0bnigqfew3hsy-bpfyzw

Plot data spaced equally in time between a starting and ending date:

https://wolfram.com/xid/0bnigqfew3hsy-kr9djy

Plot data gathered on the 15 day of each month, starting in January:

https://wolfram.com/xid/0bnigqfew3hsy-p6i9

Dates given as DateString specifications:

https://wolfram.com/xid/0bnigqfew3hsy-i4wkmr

Use AbsoluteTime specifications:

https://wolfram.com/xid/0bnigqfew3hsy-et0keo


https://wolfram.com/xid/0bnigqfew3hsy-cp1ye2

https://wolfram.com/xid/0bnigqfew3hsy-insya

The plot range is selected automatically:

https://wolfram.com/xid/0bnigqfew3hsy-br42di

Use PlotRange to focus in on areas of interest:

https://wolfram.com/xid/0bnigqfew3hsy-f1ztlh

Use ScalingFunctions to scale the axes:

https://wolfram.com/xid/0bnigqfew3hsy-bk833k

Tabular Data (1)
Get tabular data for historical populations of several countries:

https://wolfram.com/xid/0bnigqfew3hsy-b7nkl8

Plot the population of France from 1940 to 2020:

https://wolfram.com/xid/0bnigqfew3hsy-3c9bfh

Plot the populations of France, Germany and Australia:

https://wolfram.com/xid/0bnigqfew3hsy-n713xh

Include legends for the plot, using the column names:

https://wolfram.com/xid/0bnigqfew3hsy-bn3tgy

Special Data (6)
Use Quantity to include units with the data:

https://wolfram.com/xid/0bnigqfew3hsy-tm5oxe

Plot data in a QuantityArray:

https://wolfram.com/xid/0bnigqfew3hsy-6qs0wv


https://wolfram.com/xid/0bnigqfew3hsy-tp2g1p

Specify the units used with TargetUnits:

https://wolfram.com/xid/0bnigqfew3hsy-ki8ea4

Numeric values in an Association are used as the coordinates:

https://wolfram.com/xid/0bnigqfew3hsy-uxf8n4

Numeric keys and values in an Association are used as the and
coordinates:

https://wolfram.com/xid/0bnigqfew3hsy-dadvqu

Plot TimeSeries directly:

https://wolfram.com/xid/0bnigqfew3hsy-xk5d86


https://wolfram.com/xid/0bnigqfew3hsy-efx061

The weights in WeightedData are ignored:

https://wolfram.com/xid/0bnigqfew3hsy-j4vq37

Use a sparse array to represent the values:

https://wolfram.com/xid/0bnigqfew3hsy-5ickbw

Wrappers (8)
Use wrappers on individual data, datasets, or collections of datasets:

https://wolfram.com/xid/0bnigqfew3hsy-fv6xu4


https://wolfram.com/xid/0bnigqfew3hsy-d78b5k

Use the value of each point as a tooltip:

https://wolfram.com/xid/0bnigqfew3hsy-3npphe

Use a specific label for all the points:

https://wolfram.com/xid/0bnigqfew3hsy-415mse

Use PopupWindow to provide additional drilldown information:

https://wolfram.com/xid/0bnigqfew3hsy-9oa0q

Button can be used to trigger any action:

https://wolfram.com/xid/0bnigqfew3hsy-j1231b

Use Annotation for dynamic action when the mouse enters the plot:

https://wolfram.com/xid/0bnigqfew3hsy-h520y5

https://wolfram.com/xid/0bnigqfew3hsy-l6wkh0

Use Hyperlink to jump to the specified link when clicked:

https://wolfram.com/xid/0bnigqfew3hsy-dmjtie

https://wolfram.com/xid/0bnigqfew3hsy-cf916s

Use StatusArea to display a string in the status area of the current notebook:

https://wolfram.com/xid/0bnigqfew3hsy-dbblcr

https://wolfram.com/xid/0bnigqfew3hsy-ntbwt

Labeling and Legending (13)
Label data with Labeled:

https://wolfram.com/xid/0bnigqfew3hsy-4vw6bh

https://wolfram.com/xid/0bnigqfew3hsy-lxmcvk

Label data with PlotLabels:

https://wolfram.com/xid/0bnigqfew3hsy-r9rfw9

https://wolfram.com/xid/0bnigqfew3hsy-egy6il

Place the label near the points at an date:

https://wolfram.com/xid/0bnigqfew3hsy-oo1bdl


https://wolfram.com/xid/0bnigqfew3hsy-dz0iw

Specify the text position relative to the point:

https://wolfram.com/xid/0bnigqfew3hsy-wyoyes

Label points with automatically positioned text:

https://wolfram.com/xid/0bnigqfew3hsy-xmhb5x

Place the labels relative to the points:

https://wolfram.com/xid/0bnigqfew3hsy-gp0udm

Specify the maximum size of labels:

https://wolfram.com/xid/0bnigqfew3hsy-ydvztf

https://wolfram.com/xid/0bnigqfew3hsy-7yp0dd


https://wolfram.com/xid/0bnigqfew3hsy-0tvr5f

For dense sets of points, some labels may be turned into tooltips by default:

https://wolfram.com/xid/0bnigqfew3hsy-6zon2k

https://wolfram.com/xid/0bnigqfew3hsy-rwgchr

Increasing the size of the plot will show more labels:

https://wolfram.com/xid/0bnigqfew3hsy-qbhquz

Label data automatically with Callout:

https://wolfram.com/xid/0bnigqfew3hsy-iy10e3

Place a label with a specific location:

https://wolfram.com/xid/0bnigqfew3hsy-rhk049

Include legends for each curve:

https://wolfram.com/xid/0bnigqfew3hsy-q6d85l

https://wolfram.com/xid/0bnigqfew3hsy-2affg8

Use Legended to provide a legend for a specific dataset:

https://wolfram.com/xid/0bnigqfew3hsy-zll5xl

https://wolfram.com/xid/0bnigqfew3hsy-y61tvi

Use Placed to change the legend location:

https://wolfram.com/xid/0bnigqfew3hsy-cmgg34

Use association keys as labels:

https://wolfram.com/xid/0bnigqfew3hsy-h07mpw

https://wolfram.com/xid/0bnigqfew3hsy-qiwcwl

Plots usually have interactive callouts showing the coordinates when you mouse over them:

https://wolfram.com/xid/0bnigqfew3hsy-gtoy7y

Including specific wrappers or interactions, such as tooltips, turns off the interactive features:

https://wolfram.com/xid/0bnigqfew3hsy-3e79m

Presentation (6)
Multiple curves are automatically colored to be distinct:

https://wolfram.com/xid/0bnigqfew3hsy-uotmz

https://wolfram.com/xid/0bnigqfew3hsy-chki2d

Provide explicit styling to different curves:

https://wolfram.com/xid/0bnigqfew3hsy-guyk1

Include legends for each curve:

https://wolfram.com/xid/0bnigqfew3hsy-cks025

Use Legended to provide a legend for a specific dataset:

https://wolfram.com/xid/0bnigqfew3hsy-pqu5t

Provide an interactive Tooltip for the curve:

https://wolfram.com/xid/0bnigqfew3hsy-3nl936

https://wolfram.com/xid/0bnigqfew3hsy-kd8tah


https://wolfram.com/xid/0bnigqfew3hsy-sl4ch


https://wolfram.com/xid/0bnigqfew3hsy-hey752

https://wolfram.com/xid/0bnigqfew3hsy-ewfe65


https://wolfram.com/xid/0bnigqfew3hsy-ewcrra
Use shapes to distinguish different datasets:

https://wolfram.com/xid/0bnigqfew3hsy-batr26


https://wolfram.com/xid/0bnigqfew3hsy-hoopv4
Use a theme with simple ticks in a bold color scheme:

https://wolfram.com/xid/0bnigqfew3hsy-c2qzns

Use a theme with bright colors on a dark background:

https://wolfram.com/xid/0bnigqfew3hsy-duampy

Plot the data in a stacked layout:

https://wolfram.com/xid/0bnigqfew3hsy-vv9hms

https://wolfram.com/xid/0bnigqfew3hsy-o9yhut

https://wolfram.com/xid/0bnigqfew3hsy-6pr4fg

Options (47)Common values & functionality for each option
ClippingStyle (1)
Omit clipped regions of the plot:

https://wolfram.com/xid/0bnigqfew3hsy-yay5z

https://wolfram.com/xid/0bnigqfew3hsy-dmue3f

Show clipped regions as red at the bottom and the top:

https://wolfram.com/xid/0bnigqfew3hsy-ka3qwy

Use PlotRange->All to not clip:

https://wolfram.com/xid/0bnigqfew3hsy-zz7c68

ColorFunction (4)
Color with a named color scheme:

https://wolfram.com/xid/0bnigqfew3hsy-y7quho

https://wolfram.com/xid/0bnigqfew3hsy-c7s01v

Color by scaled and
coordinates:

https://wolfram.com/xid/0bnigqfew3hsy-rvq0x1

https://wolfram.com/xid/0bnigqfew3hsy-ikqa3t


https://wolfram.com/xid/0bnigqfew3hsy-g0jh2s

Fill with the color used for the curve:

https://wolfram.com/xid/0bnigqfew3hsy-or4cm2

https://wolfram.com/xid/0bnigqfew3hsy-dot46s

ColorFunction has higher priority than PlotStyle for coloring the curve:

https://wolfram.com/xid/0bnigqfew3hsy-29i0zh

https://wolfram.com/xid/0bnigqfew3hsy-clcd05

ColorFunctionScaling (2)
Color the line based on scaled value:

https://wolfram.com/xid/0bnigqfew3hsy-sqgc0q

https://wolfram.com/xid/0bnigqfew3hsy-fory7h

Color the line based on unscaled value:

https://wolfram.com/xid/0bnigqfew3hsy-lohro5

https://wolfram.com/xid/0bnigqfew3hsy-fd209b

DateFunction (1)
By default, numeric times correspond to AbsoluteTime:

https://wolfram.com/xid/0bnigqfew3hsy-c31td0

https://wolfram.com/xid/0bnigqfew3hsy-e9ored

Interpret them as UnixTime:

https://wolfram.com/xid/0bnigqfew3hsy-c4xazk

DateTicksFormat (1)
Filling (2)
Explicitly specify the filling style for different plots:

https://wolfram.com/xid/0bnigqfew3hsy-jdtiz5

https://wolfram.com/xid/0bnigqfew3hsy-fpxgfb

Fills that overlap combine using opacity by default:

https://wolfram.com/xid/0bnigqfew3hsy-rl65j

https://wolfram.com/xid/0bnigqfew3hsy-o5zbzd

Fill from the second curve to the first:

https://wolfram.com/xid/0bnigqfew3hsy-usmuxw

Fill the region between two curves with light gray:

https://wolfram.com/xid/0bnigqfew3hsy-wxl51r

FillingStyle (3)

https://wolfram.com/xid/0bnigqfew3hsy-dylq1

https://wolfram.com/xid/0bnigqfew3hsy-06wqx

Fill with red below the axis and with blue above:

https://wolfram.com/xid/0bnigqfew3hsy-wa06y


https://wolfram.com/xid/0bnigqfew3hsy-i5r4c1

https://wolfram.com/xid/0bnigqfew3hsy-e5q9ys

Use a variable filling style obtained from ColorFunction:

https://wolfram.com/xid/0bnigqfew3hsy-m6nc5b

https://wolfram.com/xid/0bnigqfew3hsy-j5qvfo

GridLines (1)
GridLinesStyle (1)
Joined (1)
By default, the horizontal steps are joined by vertical segments:

https://wolfram.com/xid/0bnigqfew3hsy-jubp2

https://wolfram.com/xid/0bnigqfew3hsy-d50goq

Use Joined->False to create a plot without the vertical segments:

https://wolfram.com/xid/0bnigqfew3hsy-jxp25x

LabelingSize (4)
Textual labels are shown at their actual sizes:

https://wolfram.com/xid/0bnigqfew3hsy-t7qmke

Image labels are automatically resized:

https://wolfram.com/xid/0bnigqfew3hsy-vny20w

Specify a maximum size for textual labels:

https://wolfram.com/xid/0bnigqfew3hsy-bz8jld

Specify a maximum size for image labels:

https://wolfram.com/xid/0bnigqfew3hsy-hy9uc7

Show image labels at their natural sizes:

https://wolfram.com/xid/0bnigqfew3hsy-4rxwe0

Mesh (1)
Use Mesh->Full to show the point for each step:

https://wolfram.com/xid/0bnigqfew3hsy-mgdoek

https://wolfram.com/xid/0bnigqfew3hsy-4qk8en


https://wolfram.com/xid/0bnigqfew3hsy-h2cse3

Use different mesh specifications:

https://wolfram.com/xid/0bnigqfew3hsy-h9sqk5

MeshFunctions (1)
MeshShading (1)
Alternate red and blue segments of equal width in the direction:

https://wolfram.com/xid/0bnigqfew3hsy-ez87oc

https://wolfram.com/xid/0bnigqfew3hsy-bb54yg

MeshShading can be used with PlotStyle:

https://wolfram.com/xid/0bnigqfew3hsy-bqf1ok

MeshStyle (1)
PlotHighlighting (1)
Plots have interactive coordinate callouts with the default setting PlotHighlightingAutomatic:

https://wolfram.com/xid/0bnigqfew3hsy-c0dvtn

PlotLabel (1)
PlotLabels (4)

https://wolfram.com/xid/0bnigqfew3hsy-q7dlh5

https://wolfram.com/xid/0bnigqfew3hsy-e0mi1l

https://wolfram.com/xid/0bnigqfew3hsy-g5bmk1

Place the label above the data:

https://wolfram.com/xid/0bnigqfew3hsy-npuzi0

https://wolfram.com/xid/0bnigqfew3hsy-bxi6p8

Place the label below the data at a specific date:

https://wolfram.com/xid/0bnigqfew3hsy-4tgrla

PlotLabels->Automatic uses keys of an association as data labels:

https://wolfram.com/xid/0bnigqfew3hsy-t6qhgb

Use None to not add a label:

https://wolfram.com/xid/0bnigqfew3hsy-hoxc0y

https://wolfram.com/xid/0bnigqfew3hsy-09h98g

PlotLayout (1)
By default, curves are overlaid on each other:

https://wolfram.com/xid/0bnigqfew3hsy-tmlu2u

https://wolfram.com/xid/0bnigqfew3hsy-mtfwtr

https://wolfram.com/xid/0bnigqfew3hsy-uyx6v7

Plot the data in a stacked layout:

https://wolfram.com/xid/0bnigqfew3hsy-b85uwj

PlotLegends (1)

https://wolfram.com/xid/0bnigqfew3hsy-c4d3h8
Generate a legend using labels:

https://wolfram.com/xid/0bnigqfew3hsy-bcgv8a

Legends use the same styles as the plot:

https://wolfram.com/xid/0bnigqfew3hsy-icpap2

Place the legend inside the plot:

https://wolfram.com/xid/0bnigqfew3hsy-gc5e63

PlotMarkers (2)
Use PlotMarkers->Automatic to show the point for each step:

https://wolfram.com/xid/0bnigqfew3hsy-ksh6c

https://wolfram.com/xid/0bnigqfew3hsy-xps6wh


https://wolfram.com/xid/0bnigqfew3hsy-uyyg8b

Automatically use colors and shapes to distinguish sets of data:

https://wolfram.com/xid/0bnigqfew3hsy-fc1e9f

https://wolfram.com/xid/0bnigqfew3hsy-dsqs5w

Use text or typeset labels to distinguish datasets:

https://wolfram.com/xid/0bnigqfew3hsy-cu1rxd

Use the same symbol for all the sets of data:

https://wolfram.com/xid/0bnigqfew3hsy-bcjgv

PlotRange (1)
PlotRange is automatically calculated:

https://wolfram.com/xid/0bnigqfew3hsy-uc1k63

https://wolfram.com/xid/0bnigqfew3hsy-im4j0a


https://wolfram.com/xid/0bnigqfew3hsy-g10xpm


https://wolfram.com/xid/0bnigqfew3hsy-icm17r

PlotStyle (2)
Use different plot style directives:

https://wolfram.com/xid/0bnigqfew3hsy-iaj9oz

https://wolfram.com/xid/0bnigqfew3hsy-k1i6yw

By default, different styles are chosen for multiple plots:

https://wolfram.com/xid/0bnigqfew3hsy-eh7ojd

https://wolfram.com/xid/0bnigqfew3hsy-fzoyjm

Explicitly specify the style for different plots:

https://wolfram.com/xid/0bnigqfew3hsy-bb1rhr

PlotTheme (1)
Use a theme with simple styling in a bright color scheme:

https://wolfram.com/xid/0bnigqfew3hsy-dmuoz7

https://wolfram.com/xid/0bnigqfew3hsy-s5eeyq


https://wolfram.com/xid/0bnigqfew3hsy-6lphrl

Use a theme with minimal styling:

https://wolfram.com/xid/0bnigqfew3hsy-c25l88

ScalingFunctions (7)
By default, plots have linear scales in each direction:

https://wolfram.com/xid/0bnigqfew3hsy-s1th8c

Use a log scale in the direction:

https://wolfram.com/xid/0bnigqfew3hsy-yuq0eb

Use a linear scale in the direction that shows smaller numbers at the top:

https://wolfram.com/xid/0bnigqfew3hsy-8ukzpu

Use a reciprocal scale in the direction:

https://wolfram.com/xid/0bnigqfew3hsy-3hsf4h

Use a scale defined by a function and its inverse:

https://wolfram.com/xid/0bnigqfew3hsy-la5w7q

Positions in FrameTicks and GridLines are automatically scaled:

https://wolfram.com/xid/0bnigqfew3hsy-m8z0wd

PlotRange is automatically scaled:

https://wolfram.com/xid/0bnigqfew3hsy-gycwmk

Applications (7)Sample problems that can be solved with this function

https://wolfram.com/xid/0bnigqfew3hsy-jazknl

Visualize the number of items in an inventory:

https://wolfram.com/xid/0bnigqfew3hsy-shn4n

Show the total precipitation of Boston Logan International Airport from January 1, 2000, to December 31, 2005:

https://wolfram.com/xid/0bnigqfew3hsy-jde52y

Plot stepwise the GDP of France from 1985 to 2005:

https://wolfram.com/xid/0bnigqfew3hsy-g8iqx

Show values averaged over monthly intervals:

https://wolfram.com/xid/0bnigqfew3hsy-y07685

https://wolfram.com/xid/0bnigqfew3hsy-riub5x


https://wolfram.com/xid/0bnigqfew3hsy-pupy2

Show the simulation of a Poisson process with :

https://wolfram.com/xid/0bnigqfew3hsy-c6q8a

https://wolfram.com/xid/0bnigqfew3hsy-go1miv

https://wolfram.com/xid/0bnigqfew3hsy-ccajym

Show the simulation of a M/M/1 queue where the state is the number of jobs in the system:

https://wolfram.com/xid/0bnigqfew3hsy-b7h4q


https://wolfram.com/xid/0bnigqfew3hsy-cftbeo

Properties & Relations (4)Properties of the function, and connections to other functions
DateListStepPlot does not interpolate between values:

https://wolfram.com/xid/0bnigqfew3hsy-gggefj

https://wolfram.com/xid/0bnigqfew3hsy-77omw6

Use DateListPlot to linearly interpolate between values:

https://wolfram.com/xid/0bnigqfew3hsy-opu9gy


https://wolfram.com/xid/0bnigqfew3hsy-gq9rpu

ListStepPlot does not interpret the values as being dates or times:

https://wolfram.com/xid/0bnigqfew3hsy-ffw2ua

https://wolfram.com/xid/0bnigqfew3hsy-et3fpo


https://wolfram.com/xid/0bnigqfew3hsy-id3n0
DateListStepPlot plots values associated with dates:

https://wolfram.com/xid/0bnigqfew3hsy-pnmtg3

Use DateHistogram to plot counts from a list of dates:

https://wolfram.com/xid/0bnigqfew3hsy-bgmtoe

Use TradingChart for a chart showing prices and volume for each date :

https://wolfram.com/xid/0bnigqfew3hsy-gqwk3d

https://wolfram.com/xid/0bnigqfew3hsy-dzpu7i

Wolfram Research (2015), DateListStepPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/DateListStepPlot.html (updated 2025).
Text
Wolfram Research (2015), DateListStepPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/DateListStepPlot.html (updated 2025).
Wolfram Research (2015), DateListStepPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/DateListStepPlot.html (updated 2025).
CMS
Wolfram Language. 2015. "DateListStepPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/DateListStepPlot.html.
Wolfram Language. 2015. "DateListStepPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/DateListStepPlot.html.
APA
Wolfram Language. (2015). DateListStepPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DateListStepPlot.html
Wolfram Language. (2015). DateListStepPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DateListStepPlot.html
BibTeX
@misc{reference.wolfram_2025_dateliststepplot, author="Wolfram Research", title="{DateListStepPlot}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/DateListStepPlot.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_dateliststepplot, organization={Wolfram Research}, title={DateListStepPlot}, year={2025}, url={https://reference.wolfram.com/language/ref/DateListStepPlot.html}, note=[Accessed: 29-March-2025
]}