ListLinePlot
ListLinePlot[{y_{1},…,y_{n}}]
plots a line through the points {1,y_{1}}, …, {n,y_{n}}.
ListLinePlot[{{x_{1},y_{1}},…,{x_{n},y_{n}}}]
plots a line through the points {x_{1},y_{1}}, …, {x_{n},y_{n}}.
ListLinePlot[{data_{1},data_{2},…}]
plots lines from all the data_{i}.
ListLinePlot[{…,w[data_{i},…],…}]
plots data_{i} with features defined by the symbolic wrapper w.
Details and Options
 ListLinePlot is also known as a line plot or line chart.
 Regular data {y_{1},…,y_{n}} is plotted as a functional curve through the points {i,y_{i}}.
 Irregular data {{x_{1},y_{1}},…,{x_{n},y_{n}}} is plotted as the freeform curve through the points {x_{i},y_{i}}.
 Data values x_{i} and y_{i} can be given in the following forms:

x_{i} a realvalued number Quantity[x_{i},unit] a quantity with a unit Around[x_{i},e_{i}] value x_{i} with uncertainty e_{i} Interval[{x_{min},x_{max}}] values between x_{min} and x_{max}  Values x_{i} and y_{i} that are not of the form above are taken to be missing and are not shown.
 The data_{i} have the following forms and interpretations:

<"k_{1}"y_{1},"k_{2}"y_{2},… > values {y_{1},y_{2},…} <x_{1}y_{1},x_{2}y_{2},… > keyvalue pairs {{x_{1},y_{1}},{x_{2},y_{2}},…} {y_{1}"lbl_{1}",y_{2}"lbl_{2}",…}, {y_{1},y_{2},…}{"lbl_{1}","lbl_{2}",…} values {y_{1},y_{2},…} with labels {lbl_{1},lbl_{2},…} SparseArray values as a normal array TimeSeries, EventSeries timevalue pairs QuantityArray magnitudes WeightedData unweighted values  The following wrappers w can be used for the data_{i}:

Annotation[data_{i},label] provide an annotation for the data Button[data_{i},action] define an action to execute when the data is clicked Callout[data_{i},label] label the data with a callout Callout[data_{i},label,pos] place the callout at relative position pos EventHandler[data_{i},events] define a general event handler for the data Hyperlink[data_{i},uri] make the data a hyperlink Labeled[data_{i},label] label the data Labeled[data_{i},label,pos] place the label at relative position pos Legended[data_{i},label] identify the data in a legend PopupWindow[data_{i},cont] attach a popup window to the data StatusArea[data_{i},label] display in the status area on mouseover Style[data_{i},styles] show the data using the specified styles Tooltip[data_{i},label] attach a tooltip to the curve  Wrappers w can be applied at multiple levels:

{…,w[y_{i}],…} wrap the value y_{i} in data {…,w[{x_{i},y_{i}}],…} wrap the point {x_{i},y_{i}} w[data_{i}] wrap the data w[{data_{1},…}] wrap a collection of data_{i} w_{1}[w_{2}[…]] use nested wrappers  Callout, Labeled, and Placed can use the following positions pos:

Above position above curve Below position below curve Before position before curve After position after curve "Start" position at start of each curve "End" position at end of each curve x near the curve at a position x Scaled[s] scaled position s along the curve {s,Above} Above relative position at position s along the curve {s,Below} Below relative position at position s along the curve {pos,epos} epos in label placed at relative position pos of the curve  ListLinePlot has the same options as Graphics, with the following additions and changes:

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 DataRange Automatic the range of x values to assume for data Filling None filling under each line FillingStyle Automatic style to use for filling InterpolationOrder None the polynomial degree of curves used in joining data points IntervalMarkers Automatic how to render uncertainty IntervalMarkersStyle Automatic style for uncertainty elements LabelingFunction Automatic how to label points LabelingSize Automatic maximum size of callouts and labels MaxPlotPoints Infinity the maximum number of points to include 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 methods to use MultiaxisArrangement None how to arrange multiple axes for data PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLabel None overall label for the plot PlotLabels None labels for data PlotLayout "Overlaid" how to position data PlotLegends None legends for data 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  DataRange determines how values {y_{1},…,y_{n}} are interpreted into {{x_{1},y_{1}},…,{x_{n},y_{n}}}. Possible settings include:

Automatic,All uniform from 1 to n {x_{min},x_{max}} uniform from x_{min} to x_{max}  In general a list of pairs {{x_{1},y_{1}},{x_{2},y_{2}},…} is interpreted as a list of points, but the setting DataRangeAll forces it to be interpreted as multiple data sources {{y_{11},y_{12}},{y_{21},y_{23}},…}. »
 LabelingFunction>f specifies that each point should have a label given by f[value,index,lbls], where value is the value associated with the point, index is its position in the data, and lbls is the list of relevant labels.
 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  Possible settings for PlotLayout that show single curves in multiple plot panels include:

"Column" use separate curves in a column of panels "Row" use separate curves in a row of panels {"Column",k},{"Row",k} use k columns or rows {"Column",UpTo[k]},{"Row",UpTo[k]} use at most k columns or rows  Typical settings for PlotLegends include:

None no legend Automatic automatically determine legend {lbl_{1},lbl_{2},…} use lbl_{1}, lbl_{2}, … as legend labels Placed[lspec,…] specify placement for legend  ScalingFunctions>"scale" scales the coordinate; ScalingFunctions{"scalex","scaley"} scales both the and coordinates.
Examples
open allclose allBasic Examples (6)
Scope (52)
General Data (10)
Lines are drawn through the data points:
The plot range is selected automatically:
Specify what values the data ranges over:
Ranges where the data is nonreal are excluded:
Use InterpolationOrder to smooth the data:
Use MaxPlotPoints to limit the number of points used:
Use PlotRange to focus in on areas of interest:
Use ScalingFunctions to scale the axes:
Special Data (9)
Use Quantity to include units with the data:
Include different units for the x and y coordinates:
Plot data in a QuantityArray:
Specify the units used with TargetUnits:
Use bands to represent uncertainty:
Specify strings to use as labels:
Specify a location for labels:
Numeric values in an Association are used as the y coordinates:
Numeric keys and values in an Association are used as the x and y coordinates:
Plot TimeSeries directly with automatic date ticks:
Plot data in a SparseArray:
The weights in WeightedData are ignored:
Data Wrappers (7)
Use wrappers on data sources or collections of data sources:
Use the value of each point as a tooltip:
Use a specific tooltip for the curve:
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 (11)
Label data sources with Labeled:
Specify the labels with PlotLabels:
Place the label near the points at an x value:
Specify the text position relative to the point:
Label data automatically with Callout:
Place a label with specific locations:
Specify label names with LabelingFunction:
Specify the maximum size of labels:
Include legends for each curve:
Use Legended to provide a legend for a specific dataset:
Use Placed to change the legend location:
Presentation (15)
Multiple curves are automatically colored to be distinct:
Provide explicit styling to different curves:
Use a theme with simple ticks in a bold color scheme:
Include legends for each curve:
Use Legended to provide a legend for a specific dataset:
Provide an interactive Tooltip for the data:
Use shapes to distinguish different datasets:
Style the curve segments between mesh points:
Show multiple curves in a row of separate panels:
Use a column instead of a row:
Plot the data in a stacked layout:
Plot the data as percentiles of the total of the values:
Use different axes for the different items:
Options (131)
ClippingStyle (5)
ColorFunction (5)
Color by scaled and coordinates:
Color with a named color scheme:
Fill with the color used for the curve:
ColorFunction has higher priority than PlotStyle for coloring the curve:
Use Automatic in MeshShading to use the ColorFunction:
ColorFunctionScaling (2)
DataRange (5)
Lists of height values are displayed against the number of elements:
Rescale to the sampling space:
Each dataset is scaled to the same domain:
Pairs are interpreted as , coordinates:
Specifying DataRange in this case has no effect, since values are part of the data:
Filling (8)
Use symbolic or explicit values:
Fills that overlap by default combine using opacity:
Fill between the first curve and the axis:
Fill between curves 1 and 2 with a specific style:
Fill between curves 1 and with light orange:
Fill between curves 1 and 2; use yellow when 1 is below 2, and green when 1 is above 2:
FillingStyle (4)
Fill with red below the axis, and with blue above:
Use a variable filling style obtained from ColorFunction:
InterpolationOrder (3)
IntervalMarkers (3)
IntervalMarkersStyle (2)
LabelingFunction (6)
By default, points are automatically labeled with strings:
Use LabelingFunction>None to suppress the labels:
Put the labels above the points:
Use callouts to label the points:
LabelingSize (4)
MaxPlotPoints (4)
Mesh (5)
MeshFunctions (2)
MeshShading (6)
Alternate red and blue segments of equal width in the direction:
Use None to remove segments:
MeshShading can be used with PlotStyle:
MeshShading has higher priority than PlotStyle for styling the curve:
Use PlotStyle for some segments by setting MeshShading to Automatic:
MeshShading can be used with ColorFunction:
MeshStyle (4)
MultiaxisArrangement (5)
PlotLabels (5)
Specify text to label sets of points:
Place the labels above the points:
Use callouts to identify the points:
Label curves with the keys from an association:
Use None to not label a data source:
PlotLayout (3)
PlotLegends (5)
Generate a legend using labels:
Generate a legend using placeholders:
Legends use the same styles as the plot:
Use Placed to specify legend placement:
Place the legend inside the plot:
Use LineLegend to change the legend appearance:
PlotMarkers (8)
ListLinePlot normally uses distinct colors to distinguish different sets of data:
Automatically use colors and shapes to distinguish sets of data:
Change the size of the default plot markers:
Use arbitrary text for plot markers:
Use explicit graphics for plot markers:
PlotRange (2)
PlotStyle (6)
Use different style directives:
By default, different styles are chosen for multiple curves:
Explicitly specify the style for different curves:
PlotStyle can be combined with ColorFunction:
PlotStyle can be combined with MeshShading:
PlotTheme (3)
ScalingFunctions (9)
By default, plots have linear scales in each direction:
Use a log scale in the direction:
Use a linear scale in the direction that shows smaller numbers at the top:
Use a reciprocal scale in the direction:
Use different scales in the and directions:
Reverse the axis without changing the axis:
Use a scale defined by a function and its inverse:
Positions in Ticks and GridLines are automatically scaled:
PlotRange and AxesOrigin are automatically scaled:
Ticks (10)
Ticks are placed automatically in each plot:
Use TicksNone to draw axes without any tick marks:
Use ticks on the axis, but not the axis:
Place tick marks at specific positions:
Draw tick marks at the specified positions with the specified labels:
Draw tick marks at the specified positions with the specified labels:
Use specific ticks on one axis and automatic ticks on the other:
Specify the lengths for axes as a fraction on graphics size:
Use different sizes in the positive and negative directions for each tick:
Specify a style for each tick:
Construct a function that places ticks at the midpoint and extremes of the axis:
Applications (9)
Compare the n prime to an estimate:
Show a random walk in one dimension:
Show a random walk in two dimensions:
Compute and plot the shortest tour through 100 random points:
Show the numbers of graphs with different numbers of nodes available in GraphData:
Show the density at standard temperature and pressure for the elements:
Distribution of Wolfram Language symbols by length:
Plot the sample behavior for different Wolfram Language functions:
Plot the sample order in the , space used by Plot3D:
Properties & Relations (13)
By default, pairs are interpreted as values:
Interpret the data as multiple data sources:
ListLinePlot is a special case of ListPlot:
Use Plot to visualize functions:
Use ListLogPlot, ListLogLogPlot, and ListLogLinearPlot for logarithmic data plots:
Use ListPolarPlot for polar plots:
Use DateListPlot to show data over time:
Use ListPointPlot3D to show threedimensional data plots:
Use ListLinePlot3D to plot curves through lists of points:
Plot curves through rows of heights in a table:
Use ListPlot3D to create surfaces from data:
Use ListContourPlot to create contours from continuous data:
Use ListDensityPlot to create densities from continuous data:
Use ArrayPlot and MatrixPlot for arrays of discrete values:
Use ParametricPlot for parametric curves:
Text
Wolfram Research (2007), ListLinePlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ListLinePlot.html (updated 2019).
CMS
Wolfram Language. 2007. "ListLinePlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/ListLinePlot.html.
APA
Wolfram Language. (2007). ListLinePlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListLinePlot.html