({{, (RefLink[DateListLogPlot, paclet:ref/DateListLogPlot])[{{(Subscript[date, 1]),(Subscript[v, 1])},{(Subscript[date, 2]),(Subscript[v, 2])},…}] 
makes a log plot with values (Subscript[v, i]) at a sequence of dates.}, {, (RefLink[DateListLogPlot, paclet:ref/DateListLogPlot])[{(Subscript[v, 1]),(Subscript[v, 2]),…},datespec]
makes a log plot with dates at equal intervals specified by datespec.}, {, (RefLink[DateListLogPlot, paclet:ref/DateListLogPlot])[tseries]
plots the time series tseries.}, {, (RefLink[DateListLogPlot, paclet:ref/DateListLogPlot])[{(Subscript[data, 1]),(Subscript[data, 2]),…}]
plots data from all the (Subscript[data, i]).}, {, (RefLink[DateListLogPlot, paclet:ref/DateListLogPlot])[{…,w[(Subscript[data, i])],…]
plots (Subscript[data, i]) with features defined by the symbolic wrapper w.}})

OpenersNotesSection(Spacer1)Details and Options

Possible forms of (Subscript[date, i]) include:

In shortened date lists, omitted elements are taken to have default values {y,1,1,0,0,0}.

Possible forms of datespec include:

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.

Data values (Subscript[v, i]) can be given in the following forms:

Values (Subscript[v, i]) that are not of the preceding form are taken to be missing and are not shown.

The (Subscript[data, i]) have the following forms and interpretations:

The following wrappers w can be used for the (Subscript[data, i]):

Wrappers w can be applied at multiple levels:

In (RefLink[DateListLogPlot, paclet:ref/DateListLogPlot]), (RefLink[Labeled, paclet:ref/Labeled]) and (RefLink[Placed, paclet:ref/Placed]) allow the following positions:

(RefLink[DateListLogPlot, paclet:ref/DateListLogPlot]) has the same options as (RefLink[Graphics, paclet:ref/Graphics]), with the following additions and changes:

(RefLink[DataRange, paclet:ref/DataRange]) determines how values {(Subscript[v, 1]),…,(Subscript[v, n])} are interpreted into {{(Subscript[date, 1]),(Subscript[y, 1])},…,{(Subscript[x, n]),(Subscript[y, n])}}. Possible settings include:

In general, a list of pairs {{(Subscript[x, 1]),(Subscript[y, 1])},{(Subscript[x, 2]),(Subscript[y, 2])},…} is interpreted as a list of points, but the setting (RefLink[DataRange, paclet:ref/DataRange])->(RefLink[All, paclet:ref/All]) forces it to be interpreted as multiple data {{(Subscript[y, 11]),(Subscript[y, 12])},{(Subscript[y, 21]),(Subscript[y, 23])},…}.

Typical settings for (RefLink[PlotLegends, paclet:ref/PlotLegends]) include:

All explicit x coordinates in (RefLink[Prolog, paclet:ref/Prolog]), (RefLink[Epilog, paclet:ref/Epilog]), (RefLink[Ticks, paclet:ref/Ticks]), etc. are taken to be dates. »

OpenersPrimaryExamplesSection(Spacer1)Examples  (87)

OpenersExampleSection0(Spacer1)Basic Examples  (6)

Plot data with explicit date values:

data={{(DateObject["Day: ""Sat 1 Oct 2016", DateObject[{2016,10,1},"Day","Gregorian",-5.`]]),10},{(DateObject["Day: ""Sat 15 Oct 2016", DateObject[{2016,10,15},"Day","Gregorian",-5.`]]),647},{(DateObject["Day: ""Sun 30 Oct 2016", DateObject[{2016,10,30},"Day","Gregorian",-5.`]]),1532},{(DateObject["Day: ""Sun 20 Nov 2016", DateObject[{2016,11,20},"Day","Gregorian",-5.`]]),205}};

DateListLogPlot[data]

Plot daily values starting in January 2007:

DateListLogPlot[Range[50,1000,50],{2007,1,1}]

Plot multiple time series:

data1={{{2000},1},{{2002},10},{{2005},100}, {{2008},1000}};
data2={{{2001},200},{{2003},500},{{2006},300}, {{2008},10}};

DateListLogPlot[{data1,data2},Joined->True]

Use legends:

DateListLogPlot[{Prime[Range[10]],Exp[Range[10]]},{1981,4,21},PlotLegends->{"data1","data2"}]

Add labels:

DateListLogPlot[{Prime[Range[10]],Exp[Range[10]]},{1981,4,21},Joined->True,PlotLabels->{"first","second"}]

Plot a financial time series on a log scale:

DateListLogPlot[FinancialData["^GSPC",{2000}]]

OpenersExampleSection1(Spacer1)Scope  (37)

OpenersExampleSubsection0(Spacer1)Data  (8)

Plot a (RefLink[TimeSeries, paclet:ref/TimeSeries]):

ts=TimeSeries[];

DateListLogPlot[ts]

Dates given as (RefLink[AbsoluteTime, paclet:ref/AbsoluteTime]) specifications:

data={{3155673600,1},{3218832000,10},{3313526400,100}, {3408134400,1000}};

DateListLogPlot[data]

Dates given as (RefLink[DateString, paclet:ref/DateString]) specifications:

data={{"July 2005",50},{"August 2006",120},{"September 2007",500},{"March 2008",1200}};

DateListLogPlot[data]

Dates given as elided (RefLink[DateList, paclet:ref/DateList]) specifications:

data={{{2005,7},50},{{2006,8},120},{{2007,9},500},{{2008,3},1200}};

DateListLogPlot[data]

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

DateListLogPlot[Range[10,1000,10],"August 15, 2006"]

DateListLogPlot[Range[10,1000,10],{2006,8,15,12,15}]

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

DateListLogPlot[Exp[Range[15]],{{2008,5,1},{2008,5,30}}]

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

DateListLogPlot[Range[10],{{2006,1,1},Automatic,{0,0,90}}]

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

DateListLogPlot[Range[10],{{2008,1,15},Automatic,"Month"}]

Dates determined by an ending date and a step:

DateListLogPlot[Sqrt[Range[50]/5],{Automatic,"September 2010","Month"}]

OpenersExampleSubsection1(Spacer1)Special Data  (5)

Use (RefLink[Quantity, paclet:ref/Quantity]) to include units with the data:

DateListLogPlot[Quantity[Exp[Range[10]],"Meters"],{2010,1,1},FrameLabel->Automatic]

Plot data in a (RefLink[QuantityArray, paclet:ref/QuantityArray]):

qa=QuantityArray[2^RandomReal[{0,5},20],"Fahrenheit"]

DateListLogPlot[qa,{2000,1,1},FrameLabel->Automatic]

Specify the units used with (RefLink[TargetUnits, paclet:ref/TargetUnits]):

DateListLogPlot[qa,{2000,1,1},TargetUnits->"Kelvin",FrameLabel->Automatic]

Numeric values in an (RefLink[Association, paclet:ref/Association]) are used as the y coordinates:

DateListLogPlot[\[LeftAssociation]"a"->4,"b"->27,"c"->5,"d"->128,"e"->81,"f"->32\[RightAssociation],"Jan, 1, 2010"]

Numeric keys and values in an (RefLink[Association, paclet:ref/Association]) are used as the x and y coordinates:

DateListLogPlot[\[LeftAssociation]2->1,3->16,5->8,7->81,11->32,13->729\[RightAssociation]]

Plot (RefLink[TimeSeries, paclet:ref/TimeSeries]) directly:

data=CountryData["UnitedStates",{{"Population"},{1988,2013}}]

DateListLogPlot[data,FrameLabel->Automatic]

Plot data with uncertainty:

DateListLogPlot[Table[Around[Exp[n],RandomReal[Exp[n],2]],{n,10}],{2010,1,1}]

Use intervals:

DateListLogPlot[Table[Interval[RandomReal[Exp[n],2]],{n,10}],{2010,1,1}]

DateListLogPlot[Table[Interval[RandomReal[Exp[n],2]],{n,10}],{2010,1,1},IntervalMarkers->"Bands"]

OpenersExampleSubsection2(Spacer1)Wrappers  (8)

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

{DateListLogPlot[{Style[{2,2,4,8,32,256},Green],{4,8,32,128,874}},{2014,8}],DateListLogPlot[Style[{{2,2,4,8,32,256},{4,8,32,128,874}},Blue],{2014,8}]}

Wrappers can be nested:

DateListLogPlot[Style[{Style[{1,1,2,3,5,8},Green],{2,3,5,7,11}},Blue],{2014,8}]

Use the value of each point as a tooltip:

DateListLogPlot[Tooltip[Prime[Range[10]]],{2014,8},Mesh->Full]

Use a specific label for all the points:

DateListLogPlot[Tooltip[Prime[Range[10]],"primes"],{2014,8},Mesh->Full]

Use (RefLink[PopupWindow, paclet:ref/PopupWindow]) to provide additional drilldown information:

DateListLogPlot[{1,PopupWindow[8,DateListPlot[FinancialData["IBM","Jan. 1, 2004"]]],20},{2004,1},Mesh->Full,PlotStyle->PointSize[0.05]]

(RefLink[Button, paclet:ref/Button]) can be used to trigger any action:

DateListLogPlot[{1,Button[20,Speak[2]],163},{2014,8},Mesh->Full,PlotStyle->PointSize[0.05]]

Use (RefLink[Annotation, paclet:ref/Annotation]) for dynamic action when the mouse enters the plot:

data=TimeSeries[];

{DateListLogPlot[Annotation[data,"label","Mouse"]],Dynamic[MouseAnnotation[]]}

Use (RefLink[Hyperlink, paclet:ref/Hyperlink]) to jump to the specified link when clicked:

data=TimeSeries[];

DateListLogPlot[Hyperlink[data, "http://www.wolfram.com"]]

Use (RefLink[StatusArea, paclet:ref/StatusArea]) to display a string in the status area of the current notebook:

data=TimeSeries[];

DateListLogPlot[StatusArea[data, "String"]]

OpenersExampleSubsection3(Spacer1)Labeling and Legending  (9)

Label points with automatically positioned text:

DateListLogPlot[Table[Labeled[2^RandomInteger[{1,6}],i],{i,15}],{2010,1,1},PlotMarkers->Automatic]

Place the labels relative to the points:

Table[DateListLogPlot[Table[Labeled[10^RandomReal[],i,p],{i,6}],{2010,1,1},PlotMarkers->Automatic,PlotLabel->p],{p,{Above,Below,Before,After}}]

Label data with (RefLink[Labeled, paclet:ref/Labeled]):

data1=Accumulate@RandomInteger[10,10];data2=Accumulate@RandomInteger[3,10];

DateListLogPlot[{Labeled[data1,"label1"],Labeled[data2,"label2"]},{2010,1,1}]

Label data with (RefLink[PlotLabels, paclet:ref/PlotLabels]):

data1=Accumulate@RandomInteger[10,10];data2=Accumulate@RandomInteger[3,10];

DateListLogPlot[{data1,data2},{2000},PlotLabels->{"label1","label2"}]

Place the label near the points at an x date:

DateListLogPlot[Labeled[Accumulate@RandomInteger[10,10],"label",{2004}],{2000}]

Use a scaled position:

DateListLogPlot[Labeled[Accumulate@RandomInteger[10,10],"label",Scaled[0.3]],{2000}]

Specify the text position relative to the point:

DateListLogPlot[Labeled[Accumulate@RandomInteger[10,10],"label",{Scaled[0.3],Below}],{2000}]

Specify the maximum size of labels:

data=Rule[TimeSeries[{1,1,2,3,5,8,11},{"Jan 1, 2015"}],RandomWord[7]];

DateListLogPlot[data,LabelingSize->30]

Use the full label:

DateListLogPlot[data,LabelingSize->Full]

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

data=Rule[TimeSeries[RandomReal[1,100],{"Jan 1, 2015"}],RandomWord[100]];

DateListLogPlot[data,PlotMarkers->Automatic]

Increasing the size of the plot will show more labels:

DateListLogPlot[data,ImageSize->400,PlotMarkers->Automatic]

Use legends:

percentChange[tick_]:=Block[{stock},stock=FinancialData[tick,{{2005,1},{2010,12}}];
stock/stock["Values"][[1]]
]

DateListLogPlot[{percentChange["AAPL"],percentChange["IBM"]},PlotLegends->{"APPL","IBM"}]

Use (RefLink[Legended, paclet:ref/Legended]) wrapper to add a legend:

percentChange[tick_]:=Block[{stock},stock=FinancialData[tick,{{2008,1},{2009,12}}];
stock/stock["Values"][[1]]
]

DateListLogPlot[{percentChange["AAPL"],Legended[percentChange["^GSPC"],"SP500"]},PlotLabel->"Apple stock change"]

Use (RefLink[Placed, paclet:ref/Placed]) to change the legend location:

DateListLogPlot[{percentChange["AAPL"],Legended[percentChange["^GSPC"],Placed["SP500",Bottom]]},PlotLabel->"Apple stock change"]

OpenersExampleSubsection4(Spacer1)Presentation  (7)

Multiple curves are automatically colored to be distinct:

data={TimeSeries[],TimeSeries[]};

DateListLogPlot[data]

Provide explicit styling to different curves:

data={TimeSeries[],TimeSeries[]};

DateListLogPlot[data,PlotStyle->{Dashed,Red}]

Include legends for each dataset:

DateListLogPlot[{TimeSeries[],TimeSeries[]},PlotLegends->{"label1","label2"}]

Use (RefLink[Legended, paclet:ref/Legended]) to provide a legend for a specific dataset:

data=TimeSeries@FinancialData["AAPL",{{2010,1,1},{2011,1,1}}];
avg=MovingAverage[data,30];

DateListLogPlot[{data,Legended[avg,"moving average"]},{{2013,1,1},Automatic,"Day"},Joined->True]

Use a theme with detailed ticks and grid lines:

data={TimeSeries[],TimeSeries[]};

DateListLogPlot[data,PlotTheme->"Detailed"]

Use a more stylized theme:

DateListLogPlot[data,PlotTheme->"Marketing"]

Create filled plots:

data={TimeSeries[],TimeSeries[]};

DateListLogPlot[data,Filling->Axis]

Fill between the curves:

DateListLogPlot[data,Filling->{1->{2}}]

Plot the data in a stacked layout:

data1={{(DateObject["Day: ""Sat 1 Oct 2016", DateObject[{2016,10,1},"Day","Gregorian",-5.`]]),10},{(DateObject["Day: ""Sat 15 Oct 2016", DateObject[{2016,10,15},"Day","Gregorian",-5.`]]),17},{(DateObject["Day: ""Sun 30 Oct 2016", DateObject[{2016,10,30},"Day","Gregorian",-5.`]]),15},{(DateObject["Day: ""Sun 20 Nov 2016", DateObject[{2016,11,20},"Day","Gregorian",-5.`]]),20}};

data2={{(DateObject["Day: ""Sat 1 Oct 2016", DateObject[{2016,10,1},"Day","Gregorian",-5.`]]),15},{(DateObject["Day: ""Sat 15 Oct 2016", DateObject[{2016,10,15},"Day","Gregorian",-5.`]]),7},{(DateObject["Day: ""Sun 30 Oct 2016", DateObject[{2016,10,30},"Day","Gregorian",-5.`]]),12},{(DateObject["Day: ""Sun 20 Nov 2016", DateObject[{2016,11,20},"Day","Gregorian",-5.`]]),10}};

DateListLogPlot[{data1, data2},PlotLayout->"Stacked"]

OpenersExampleSection2(Spacer1)Options  (40)

OpenersExampleSubsection5(Spacer1)AxesOrigin  (1)

Axes origin specified with a date string x coordinate:

DateListLogPlot[Range[10],{2007},AxesOrigin->{"July 1, 2011",0},Axes->True,Frame->False]

OpenersExampleSubsection6(Spacer1)DateFunction  (2)

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

data={{{10,1},8},{{10,10},100},{{10,20},120},{{10,24},400},{{11,5},250}, {{11,15},500}};

DateListLogPlot[data,DateFunction:>(Join[{2008},#]&)]

Define functions for interpreting ambiguous date strings:

data={{"06/01/06",8},{"07/01/06",100},{"08/01/06",120},{"09/01/06",400},{"10/01/06",250}, {"11/01/06",500}};

DateListLogPlot[data,DateFunction:>(DateList[{#,{"Month","Day","YearShort"}}]&)]

DateListLogPlot[data,DateFunction:>(DateList[{#,{"Day","Month","YearShort"}}]&)]

DateListLogPlot[data,DateFunction:>(DateList[{#,{"YearShort","Month","Day"}}]&)]

OpenersExampleSubsection7(Spacer1)DateTicksFormat  (1)

Specify the format of date ticks as (RefLink[DateString, paclet:ref/DateString]) elements:

data={{{2008,1,3},80},{{2008,1,10},100},{{2008,1,20},120},{{2008,2,4},400},{{2008,2,15},250}, {{2008,2,26},700}};

DateListLogPlot[data,DateTicksFormat->{"MonthShort","/","Day"}]

OpenersExampleSubsection8(Spacer1)Filling  (1)

Fill from data points to the bottom:

DateListLogPlot[Sqrt[Range[50]],{2007,4,10},Filling->Bottom,FillingStyle->Pink]

Fill to the bottom with points joined:

DateListLogPlot[Sqrt[Range[50]],{2007,4,10},Filling->Bottom,Joined->True]

OpenersExampleSubsection9(Spacer1)FrameTicks  (2)

Give explicit dates for horizontal ticks:

DateListLogPlot[Sqrt[Range[10]],{2008,1},FrameTicks->{{Automatic,Automatic},{{{2008,4},{2008,6}},Automatic}}]

Use different date specifications:

DateListLogPlot[Sqrt[Range[10]],{2008,1},FrameTicks->{{Automatic,Automatic},{{"April 2008","June 2008"},Automatic}}]

DateListLogPlot[Sqrt[Range[10]],{2008,1},FrameTicks->{{Automatic,Automatic},{{3415996800,3421267200},Automatic}}]

Include a specific tick label, length, and style:

DateListLogPlot[Sqrt[Range[10]],{2008,1},FrameTicks->{{Automatic,Automatic},{{{{2008,6,21},"June solstice",.05,Red}},None}}]

OpenersExampleSubsection10(Spacer1)GridLines  (1)

Include grid lines at specific dates:

DateListLogPlot[Sqrt[Range[10]],{2008,1},GridLines->{{{2008,4},"June 15, 2008"},None}]

Make the first grid line (RefLink[Blue, paclet:ref/Blue]):

DateListLogPlot[Sqrt[Range[10]],{2008,1},GridLines->{{{{2008,4},Blue},"June 15, 2008"},None}]

OpenersExampleSubsection11(Spacer1)IntervalMarkers  (3)

By default, uncertainties are capped:

DateListLogPlot[Table[Around[RandomReal[{1,100}],5],10],Today]

Use bars to denote uncertainties without caps:

DateListLogPlot[Table[Around[RandomReal[{1,100}],5],10],Today,IntervalMarkers->"Bars"]

Use bands to represent uncertainties:

DateListLogPlot[Table[Around[RandomReal[{1,100}],5],10],Today,IntervalMarkers->"Bands"]

OpenersExampleSubsection12(Spacer1)IntervalMarkersStyle  (2)

Uncertainties automatically inherit the plot style:

DateListLogPlot[Table[Around[RandomReal[{10,200}],5],2,10],Today,PlotStyle->{Red,Blue}]

Specify the style for uncertainties:

DateListLogPlot[Table[Around[RandomReal[{10,200}],5],2,10],Today,IntervalMarkersStyle->Gray]

OpenersExampleSubsection13(Spacer1)Joined  (2)

Plot data with points joined by a line:

DateListLogPlot[Range[100],{2008,1},Joined->True]

Plot multiple datasets with points joined:

data1={{{2000},1},{{2002},10},{{2005},100}, {{2008},1000}};

data2={{{2001},200},{{2003},500},{{2006},300}, {{2008},10}};

DateListLogPlot[{data1,data2},Joined->True]

Only join points for the first dataset:

DateListLogPlot[{data1,data2},Joined->{True,False}]

OpenersExampleSubsection14(Spacer1)LabelingFunction  (3)

By default, points are automatically labeled with strings:

DateListLogPlot[{1,2,3,6,8,10}->{"a","b","c","d","e","f"},{2000}]

Use (RefLink[LabelingFunction, paclet:ref/LabelingFunction])->(RefLink[None, paclet:ref/None]) to suppress the labels:

DateListLogPlot[{1,2,3,6,8,10}->{"a","b","c","d","e","f"},{2000},LabelingFunction->None]

Put the labels above the points:

DateListLogPlot[{1,2,3,6,8,10}->{"a","b","c","d","e","f"},{2000},LabelingFunction->(Placed[Last@#1,Above] &)]

Put them in a tooltip:

DateListLogPlot[{1,2,3,6,8,10}->{"a","b","c","d","e","f"},{2000},LabelingFunction->(Placed[Last@#1,Tooltip] &),PlotMarkers->Automatic]

OpenersExampleSubsection15(Spacer1)LabelingSize  (4)

Textual labels are shown at their actual sizes:

DateListLogPlot[TimeSeries[{.1,1,20,300,500,8000},{"Jan 1, 2015"}]->{"healthfulness","obstreperous","spectrogram","vestige","coinage","limey"},ImageSize->Medium]

Image labels are automatically resized:

DateListLogPlot[TimeSeries[{.1,1,20,300,500,8000},{"Jan 1, 2015"}]->{,,,,,},ImageSize->Medium]

Specify a maximum size for textual labels:

DateListLogPlot[TimeSeries[{.1,1,20,300,500,8000},{"Jan 1, 2015"}]->{"healthfulness","obstreperous","spectrogram","vestige","coinage","limey"},ImageSize->Medium,LabelingSize->30]

Specify a maximum size for image labels:

DateListLogPlot[TimeSeries[{.1,1,20,300,500,8000},{"Jan 1, 2015"}]->{,,,,,},ImageSize->Medium,LabelingSize->20]

Show image labels at their natural sizes:

DateListLogPlot[TimeSeries[{.1,1,20,300,500,8000},{"Jan 1, 2015"}]->{,,,,,},ImageSize->Medium,LabelingSize->Full]

OpenersExampleSubsection16(Spacer1)PlotLabel  (1)

Add an overall label to the plot:

DateListLogPlot[RandomInteger[10,10],{2007},PlotLabel->"plot label"]

OpenersExampleSubsection17(Spacer1)PlotLabels  (4)

Specify text to label curves:

data1=Transpose[{DateRange[{2000,1,1},{2000,1,15}],RandomReal[10,15]}];

data2=Transpose[{DateRange[{2000,1,1},{2000,1,15}],RandomReal[10,15]}];

DateListLogPlot[{data1,data2},PlotLabels->{"label1","label2"}]

Place the label above the data:

ge=FinancialData["GE","Jan. 1, 2000"];

DateListLogPlot[ge,PlotLabels->Placed["high",Above]]

Place the label below the data at a specific date:

DateListLogPlot[ge,PlotLabels->Placed["crisis",{{2009,1,1},Below}]]

(RefLink[PlotLabels, paclet:ref/PlotLabels])->(RefLink[Automatic, paclet:ref/Automatic]) uses keys of an association as data labels:

DateListLogPlot[<|"a"->Accumulate@RandomInteger[10,10],"b"->Accumulate@RandomInteger[10,10]|>,{2007},PlotLabels->Automatic,PlotLegends->None]

Use (RefLink[None, paclet:ref/None]) to not add a label:

data1=Transpose[{DateRange[{2000,1,1},{2000,1,15}],Accumulate@RandomReal[10,15]}];
data2=Transpose[{DateRange[{2000,1,1},{2000,1,15}],Accumulate@RandomReal[3,15]}];

DateListLogPlot[{data1,data2},PlotLabels->{"label1",None}]

OpenersExampleSubsection18(Spacer1)PlotLayout  (1)

By default, curves are overlaid on each other:

data1={{(DateObject["Day: ""Sat 1 Oct 2016", DateObject[{2016,10,1},"Day","Gregorian",-5.`]]),10},{(DateObject["Day: ""Sat 15 Oct 2016", DateObject[{2016,10,15},"Day","Gregorian",-5.`]]),17},{(DateObject["Day: ""Sun 30 Oct 2016", DateObject[{2016,10,30},"Day","Gregorian",-5.`]]),15},{(DateObject["Day: ""Sun 20 Nov 2016", DateObject[{2016,11,20},"Day","Gregorian",-5.`]]),20}};

data2={{(DateObject["Day: ""Sat 1 Oct 2016", DateObject[{2016,10,1},"Day","Gregorian",-5.`]]),15},{(DateObject["Day: ""Sat 15 Oct 2016", DateObject[{2016,10,15},"Day","Gregorian",-5.`]]),7},{(DateObject["Day: ""Sun 30 Oct 2016", DateObject[{2016,10,30},"Day","Gregorian",-5.`]]),12},{(DateObject["Day: ""Sun 20 Nov 2016", DateObject[{2016,11,20},"Day","Gregorian",-5.`]]),10}};

DateListLogPlot[{data1, data2}]

Plot the data in a stacked layout:

DateListLogPlot[{data1, data2},PlotLayout->"Stacked"]

Place each curve in a separate panel using shared axes:

DateListLogPlot[{data1, data2},PlotLayout->"Column"]

Use rows instead of columns:

DateListLogPlot[{data1, data2},PlotLayout->"Row",ImageSize->Medium]

OpenersExampleSubsection19(Spacer1)PlotLegends  (7)

Use a legend:

DateListLogPlot[Range[10],{2007},PlotLegends->True]

(RefLink[PlotLegends, paclet:ref/PlotLegends]) matches up styles in the plot automatically:

DateListLogPlot[{Range[10],Range[10]//Prime},{2007},PlotStyle->{Blue,Red},PlotLegends->Automatic]

(RefLink[PlotLegends, paclet:ref/PlotLegends]) matches up markers in the plot automatically:

DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotMarkers->Automatic,PlotLegends->Automatic]

Use (RefLink[Joined, paclet:ref/Joined])->(RefLink[Automatic, paclet:ref/Automatic]) in legends to match up the plot:

DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotStyle->{Green,Orange}, Joined->{True,False},PlotLegends->PointLegend[Automatic,Joined->Automatic]]

Use a list of legend labels:

DateListLogPlot[{Range[10],((Range[10])^2), Sqrt@Range[10]},{2007},PlotLegends->{"a","b","c"}]

Use (RefLink[Placed, paclet:ref/Placed]) to specify legend placement:

Table[DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotLegends->Placed[Automatic,pos],PlotLabel->pos],{pos,{Above,Below}}]

Table[DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotLegends->Placed[Automatic,pos],PlotLabel->pos],{pos,{Before,After}}]

Use (RefLink[PointLegend, paclet:ref/PointLegend]) to change legend appearance:

DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotLegends->LineLegend[Automatic,{"list1","list2"},LegendFunction->Panel,LegendMargins->5]]

OpenersExampleSubsection20(Spacer1)PlotRange  (1)

Restrict the range of dates to plot over:

DateListLogPlot[10/Range[100],{2008,1,1},PlotRange->{{{2008,2,1},{2008,3,15}},Automatic}]

OpenersExampleSubsection21(Spacer1)PlotTheme  (1)

Use a theme with detailed frame ticks and grid lines:

DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotTheme->"Detailed"]

Turn off the grid lines:

DateListLogPlot[{Range[10],Range[10]^2},{2007},PlotTheme->"Detailed",GridLines->None]

OpenersExampleSubsection22(Spacer1)Ticks  (3)

Give explicit dates for horizontal ticks:

DateListLogPlot[Sqrt[Range[10]],{2008,1},Ticks->{{{2008,4},{2008,6}},Automatic},Axes->True,Frame->False]

Give explicit dates as date strings or absolute times:

DateListLogPlot[Sqrt[Range[10]],{2008,1},Ticks->{{"April 2008","June 2008"},Automatic},Axes->True,Frame->False]

DateListLogPlot[Sqrt[Range[10]],{2008,1},Ticks->{{3415996800,3421267200},Automatic},Axes->True,Frame->False]

Include a specific tick label, length, and style:

DateListLogPlot[Sqrt[Range[10]],{2008,1},Ticks->{{{{2008,6,21},"June solstice",.05,Red}},Automatic},Axes->True,Frame->False]

OpenersExampleSection3(Spacer1)Applications  (2)

Get and plot stock price data:

data=FinancialData["GE",{2000,1,1}];

DateListLogPlot[data,Joined->True,Filling->Bottom]

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

data={438.1,86.5,142.1,213.5,466.2,401.8,366.8,267.5,385.2,549.1,100.5,217.9};

DateListLogPlot[data,{{2008,6,1,8},Automatic,"Hour"}]

Modify the ticks:

DateListLogPlot[data,{{2008,6,1,8},Automatic,"Hour"},DateTicksFormat->{"Hour12Short","AMPMLowerCase"}]

OpenersExampleSection4(Spacer1)Properties & Relations  (2)

Date coordinates are plotted as absolute times:

data=Transpose[{Table[{1900,1,1,i},{i,24}],Range[24]}];

DateListLogPlot[data,GridLines->{{5 10^4},None}]

A (RefLink[ListLogPlot, paclet:ref/ListLogPlot]) using the (RefLink[AbsoluteTime, paclet:ref/AbsoluteTime]) values:

lpdata=data;
lpdata[[All,1]]=Map[AbsoluteTime,data[[All,1]]];

ListLogPlot[lpdata,GridLines->{{5 10^4},None},Frame->True]

(RefLink[DateListPlot, paclet:ref/DateListPlot]) plots date-based data on a linear scale:

DateListPlot[Range[20],{2008,1,1}]

DateListLogPlot[Range[20],{2008,1,1}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DateListPlot, paclet:ref/DateListPlot])  ▪  (RefLink[ListLogPlot, paclet:ref/ListLogPlot])  ▪  (RefLink[StackedDateListPlot, paclet:ref/StackedDateListPlot])  ▪  (RefLink[DateListStepPlot, paclet:ref/DateListStepPlot])  ▪  (RefLink[DateHistogram, paclet:ref/DateHistogram])  ▪  (RefLink[DateList, paclet:ref/DateList])  ▪  (RefLink[DateString, paclet:ref/DateString])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Data Visualization, paclet:guide/DataVisualization])}, {▪(RefLinkPlain[Time Series Processing, paclet:guide/TimeSeries])}, {▪(RefLinkPlain[Date & Time, paclet:guide/DateAndTime])}, {▪(RefLinkPlain[Financial Visualization, paclet:guide/FinancialVisualization])}, {▪(RefLinkPlain[Date & Time Visualization, paclet:guide/DateAndTimeVisualization])}})}})