DateListLogPlot

DateListLogPlot[{{date1,y1},{date2,y2},}]

makes a log plot with values yi at a sequence of dates.

DateListLogPlot[{y1,y2,},datespec]

makes a log plot with dates at equal intervals specified by datespec.

DateListLogPlot[tseries]

plots the time series tseries.

DateListLogPlot[{data1,data2,}]

plots data from all the datai.

DateListLogPlot[{,w[datai],}]

plots datai with features defined by the symbolic wrapper w.

Details and Options

Examples

open allclose all

Basic Examples  (6)

Plot data with explicit date values:

Plot daily values starting in January 2007:

Plot multiple time series:

Use legends:

Add labels:

Plot a financial time series on a log scale:

Scope  (38)

Data  (9)

Plot a TimeSeries:

Dates given as AbsoluteTime specifications:

Dates given as DateString specifications:

Dates given as elided DateList specifications:

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

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

Plot data gathered every 90 days starting on January 1, 2006:

Plot data gathered on the 15^(th) day of each month starting in January:

Dates determined by an ending date and a step:

Use ScalingFunctions to scale the data in the plot:

Special Data  (5)

Use Quantity to include units with the data:

Plot data in a QuantityArray:

Specify the units used with TargetUnits:

Numeric values in an Association are used as the coordinates:

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

Plot TimeSeries directly:

Plot data with uncertainty:

Use intervals:

Wrappers  (8)

Use wrappers on individual data, datasets, or collections of datasets:

Wrappers can be nested:

Use the value of each point as a tooltip:

Use a specific label for all the points:

Use PopupWindow to provide additional drilldown information:

Button can be used to trigger any action:

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

Use Hyperlink to jump to the specified link when clicked:

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

Labeling and Legending  (9)

Label points with automatically positioned text:

Place the labels relative to the points:

Label data with Labeled:

Label data with PlotLabels:

Place the label near the points at an date:

Use a scaled position:

Specify the text position relative to the point:

Specify the maximum size of labels:

Use the full label:

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

Increasing the size of the plot will show more labels:

Use legends:

Use Legended wrapper to add a legend:

Use Placed to change the legend location:

Presentation  (7)

Multiple curves are automatically colored to be distinct:

Provide explicit styling to different curves:

Include legends for each dataset:

Use Legended to provide a legend for a specific dataset:

Use a theme with detailed ticks and grid lines:

Use a more stylized theme:

Create filled plots:

Fill between the curves:

Plot the data in a stacked layout:

Options  (38)

AspectRatio  (2)

By default, AspectRatio uses a fixed height to width ratio for the plot:

Use AspectRatio1 to make the height the same as the width:

DateFunction  (2)

Prepend a year to create dates from {month,day} lists:

Define functions for interpreting ambiguous date strings:

DateTicksFormat  (1)

Specify the format of date ticks as DateString elements:

Filling  (1)

Fill from data points to the bottom:

Fill to the bottom with points joined:

GridLines  (1)

Include grid lines at specific dates:

Make the first grid line Blue:

IntervalMarkers  (3)

By default, uncertainties are capped:

Use bars to denote uncertainties without caps:

Use bands to represent uncertainties:

IntervalMarkersStyle  (2)

Uncertainties automatically inherit the plot style:

Specify the style for uncertainties:

Joined  (2)

Plot data with points joined by a line:

Plot multiple datasets with points joined:

Only join points for the first dataset:

LabelingFunction  (3)

By default, points are automatically labeled with strings:

Use LabelingFunction->None to suppress the labels:

Put the labels above the points:

Put them in a tooltip:

LabelingSize  (4)

Textual labels are shown at their actual sizes:

Image labels are automatically resized:

Specify a maximum size for textual labels:

Specify a maximum size for image labels:

Show image labels at their natural sizes:

PlotLabel  (1)

Add an overall label to the plot:

PlotLabels  (4)

Specify text to label curves:

Place the label above the data:

Place the label below the data at a specific date:

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

Use None to not add a label:

PlotLayout  (1)

By default, curves are overlaid on each other:

Plot the data in a stacked layout:

PlotLegends  (7)

Use a legend:

PlotLegends matches up styles in the plot automatically:

PlotLegends matches up markers in the plot automatically:

Use Joined->Automatic in legends to match up the plot:

Use a list of legend labels:

Use Placed to specify legend placement:

Use PointLegend to change legend appearance:

PlotRange  (1)

Restrict the range of dates to plot over:

PlotTheme  (1)

Use a theme with detailed frame ticks and grid lines:

Turn off the grid lines:

ScalingFunctions  (2)

By default, DateListLogPlot uses a Date scale on the x axis and a Log scale for the y axis:

Reverse the vertical scale so larger numbers are toward the bottom:

Applications  (2)

Get and plot stock price data:

Plot data gathered at regular intervals and stored without explicit dates:

Modify the ticks:

Properties & Relations  (2)

Date coordinates are plotted as absolute times:

A ListLogPlot using the AbsoluteTime values:

DateListPlot plots datebased data on a linear scale:

Wolfram Research (2008), DateListLogPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/DateListLogPlot.html (updated 2023).

Text

Wolfram Research (2008), DateListLogPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/DateListLogPlot.html (updated 2023).

CMS

Wolfram Language. 2008. "DateListLogPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/DateListLogPlot.html.

APA

Wolfram Language. (2008). DateListLogPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DateListLogPlot.html

BibTeX

@misc{reference.wolfram_2023_datelistlogplot, author="Wolfram Research", title="{DateListLogPlot}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/DateListLogPlot.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_datelistlogplot, organization={Wolfram Research}, title={DateListLogPlot}, year={2023}, url={https://reference.wolfram.com/language/ref/DateListLogPlot.html}, note=[Accessed: 19-March-2024 ]}