ListStepPlot
[{$y_1$, $y_2$, ...}]ListStepPlot
[{{$x_1$, $y_1$}, {$x_2$, $y_2$}, ...}]ListStepPlot
[{$list_1$, $list_2$, ...}]ListStepPlot[{1, 1, 2, 3, 5, 8, 13, 21}]
ListStepPlot
accepts a superset of the Graphics options. By default, ListStepPlot
s are joined, but that can be disabled.
ListStepPlot[{1, 1, 2, 3, 5, 8, 13, 21}, Joined->False]
The same as the first example but using a list of point as data, and filling the plot to the x axis.
ListStepPlot[{{1, 1}, {3, 2}, {4, 5}, {5, 8}, {6, 13}, {7, 21}}, Filling->Axis]