ListLogLinearPlot
ListLogLinearPlot [{y1,y2,…}]
makes a log-linear plot of the yi, assumed to correspond to x coordinates 1, 2, ….
ListLogLinearPlot [{{x1,y1},{x2,y2},…}]
makes a log-linear plot of the specified list of x and y values.
ListLogLinearPlot [{list1,list2,…}]
plots several lists of values.
ListLogLinearPlot [{…,w[datai,…],…}]
plots datai with features defined by the symbolic wrapper w.
Details and Options
- ListLogLinearPlot is also known as semi-logarithmic or semi-log plot since it has one logarithmic axis and one linear axis.
- ListLogLinearPlot effectively plots points based on Log [xi], but with tick marks indicating the unscaled values xi.
- ListLogLinearPlot makes logarithmic data appear as straight lines.
- Data values xi and yi can be given in the following forms:
-
xi a real-valued number
- Values xi and yi that are not of the preceding form are taken to be missing and are not shown.
- The datai have the following forms and interpretations:
-
<|"k1"y1,"k2"y2,…|> values {y1,y2,…}<|x1y1,x2y2,…|> key-value pairs {{x1,y1},{x2,y2},…}{y1"lbl1",y2"lbl2",…}, {y1,y2,…}{"lbl1","lbl2",…} values {y1,y2,…} with labels {lbl1,lbl2,…}SparseArray values as a normal arrayQuantityArray magnitudesWeightedData unweighted values
- ListLogLinearPlot [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 datai:
- Wrappers w can be applied at multiple levels:
-
{…,w[yi],…} wrap the value yi in data{…,w[{xi,yi}],…} wrap the point {xi,yi}w[datai] wrap the dataw[{data1,…}] wrap a collection of dataiw1[w2[…]] use nested wrappers
- Callout , Labeled , and Placed can use the following positions pos:
-
Automatic automatically placed labelsx near the data at a position x{pos,epos} epos in label placed at relative position pos of the data
- ListLogLinearPlot has the same options as Graphics , with the following additions and changes: [List of all options]
- DataRange determines how values {y1,…,yn} are interpreted into {{x1,y1},…,{xn,yn}}. Possible settings include:
-
{xmin,xmax} uniform from xmin to xmax
- In general, a list of pairs {{x1,y1},{x2,y2},…} is interpreted as a list of points, but the setting DataRange All forces it to be interpreted as multiple datai {{y11,y12},{y21,y23},…}.
- 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
- Typical settings for PlotLegends include:
-
None no legendAutomatic automatically determine legend{lbl1,lbl2,…} use lbl1, lbl2, … as legend labels
- Possible highlighting effects for Highlighted and PlotHighlighting include:
-
style highlight the indicated data"Ball" highlight and label the indicated point in data"Dropline" highlight and label the indicated point in data 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
- 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
- Possible settings for ScalingFunctions include:
-
sy scale y axis{sx,sy} scale x and y axes
- Common built-in scaling functions s include:
-
"Reverse" reverse the coordinate direction"Infinite" infinite scale
- Scales for the x axis are applied after the default log scale has been applied.
-
ImageMargins 0. the margins to leave around the graphicPlotLayout "Overlaid" how to position dataPreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic
List of all options
Examples
open allclose allBasic Examples (4)
Make a plot with a logarithmic scale:
Join the points with a line:
Show multiple sets of data with a legend:
Label each curve:
Generate filled plots:
Scope (54)
General Data (9)
For regular data consisting of values, the data range is taken to be integer values:
Provide an explicit data range by using DataRange :
Plot multiple sets of regular data:
For irregular data consisting of , value pairs, the data range is inferred from data:
Plot multiple sets of irregular data:
Plot multiple sets of data, regular or irregular, using DataRange to map them to the same range:
Ranges where the data is nonpositive are excluded:
Use MaxPlotPoints to limit the number of points used:
PlotRange is selected automatically:
Use PlotRange to focus on areas of interest:
Special Data (9)
Use Quantity to include units with the data:
Include different units for the and coordinates:
Plot data in a QuantityArray :
Specify the units used with TargetUnits :
Plot data with uncertainty:
Use intervals:
Specify strings to use as labels:
Specify a location for labels:
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 in a SparseArray :
The weights in WeightedData are ignored:
Tabular Data (1)
Get tabular data for countries around the world:
Plot the average internet speed of each country against its population:
Pivot the data so the download rates are split per continent:
Compare the data for countries in North and South America:
Data Wrappers (6)
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:
Labels points with automatically positioned text:
Use PopupWindow to provide additional drilldown information:
Button can be used to trigger any action:
Labeling and Legending (16)
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 value:
Use a scaled position:
Specify the text position relative to the point:
Label data automatically with Callout :
Place a label with a specific location:
Specify label names with LabelingFunction :
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:
Include legends for each curve:
Use Legended to provide a legend for a specific dataset:
Use Placed to change the legend location:
Use association keys as labels:
Plots usually have interactive callouts showing the coordinates when you mouse over them:
Including specific wrappers or interactions, such as tooltips, turns off the interactive features:
Choose from multiple interactive highlighting effects:
Use Highlighted to emphasize specific points in a plot:
Highlight multiple points:
Presentation (13)
Multiple datasets are automatically colored to be distinct:
Provide explicit styling to different sets:
Include legends for each curve:
Add labels:
Provide an interactive Tooltip for the data:
Create filled plots:
Use shapes to distinguish different datasets:
Use labels to distinguish different datasets:
Use Joined to connect datasets with lines:
Use InterpolationOrder to smooth joined data:
Use a theme with detailed frame ticks and grid lines:
Use a theme with a dark background and vibrant colors:
Plot the data in a stacked layout:
Plot the data as percentiles of the total of the values:
Use ScalingFunctions to scale the y axis on the plot:
Options (121)
ClippingStyle (6)
ClippingStyle only applies to Joined datasets:
Omit clipped regions of the plot:
Show clipped regions like the rest of the curve:
Show clipped regions with red lines:
Show clipped regions as red at the bottom and thick at the top:
Show clipped regions as red and thick:
ColorFunction (6)
ColorFunction only applies to Joined datasets:
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 ColorFunction :
ColorFunctionScaling (3)
ColorFunctionScaling only applies to Joined datasets:
Use no argument scaling on the left and automatic scaling on the right:
Scaling is done on a linear scale in the original coordinates:
Use a color function that is red at powers of 10:
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:
Force interpretation as multiple datasets:
Filling (8)
Use symbolic or explicit values for "stem" filling:
Fill between corresponding points in two datasets:
Fill between datasets using a particular style:
Fill between datasets 1 and 2; use red when 1 is less than 2 and blue otherwise:
Fill to the axis for irregularly sampled data:
Use several irregular datasets, filling between them:
Joined datasets fill with solid areas:
The type of filling depends on whether the first set is joined:
FillingStyle (4)
InterpolationOrder (5)
Lines created with Joined can be interpolated:
By default, linear interpolation is used:
Use zero-order or piecewise-constant interpolation:
Use third-order spline interpolation:
Interpolation order 0 to 5:
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 (4)
Join the dataset with a line:
Join the first dataset with a line but use points for the second dataset:
Join the dataset with a line and show the original points:
The type of filling depends on whether the set is joined:
LabelingFunction (6)
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:
Use callouts to label the points:
Label the points with their values:
Label the points with their indices:
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:
MaxPlotPoints (3)
All points are included by default:
Uniformly spaced data is downsampled:
Nonuniform data is topologically subsampled to preserve features:
Mesh (6)
MeshFunctions (2)
MeshFunctions only applies to Joined datasets:
Use a mesh evenly spaced in the direction and unscaled in the direction:
MeshShading (7)
MeshShading only applies to Joined datasets:
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 and has higher priority:
MeshStyle (5)
PlotHighlighting (9)
Plots have interactive coordinate callouts with the default setting PlotHighlighting Automatic :
Use PlotHighlighting None to disable the highlighting for the entire plot:
Use Highlighted […,None ] to disable highlighting for a single set:
Move the mouse over a set of points to highlight it using arbitrary graphics directives:
Move the mouse over the points to highlight them with balls and labels:
Move the mouse over the curve to highlight it with a label and droplines to the axes:
Use a ball and label to highlight a specific point in the plot:
Move the mouse over the plot to highlight it with a slice showing values corresponding to the position:
Highlight a particular set of points at a fixed value:
Move the mouse over the plot to highlight it with a slice showing values corresponding to the position:
Use a component that shows the points on the plot closest to the position of the mouse cursor:
Specify the style for the points:
Use a component that shows the coordinates on the points closest to the mouse cursor:
Use Callout options to change the appearance of the label:
Combine components to create a custom effect:
PlotLabel (1)
Add an overall label to the plot:
PlotLabels (5)
Specify text to label sets of points:
Place the labels above the points:
Use callouts to identify the points:
Use the keys from an Association as 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:
Plot the data as percentiles of the total of the values:
Place each curve in a separate panel using shared axes:
Use rows instead of columns:
PlotLegends (6)
Generate a legend using labels:
Generate a legend using placeholders:
Legends use the same styles as the plot:
Use Placed to specify the legend placement:
Place the legend inside the plot:
Use PointLegend to change the legend appearance:
PlotMarkers (8)
ListLogPlot normally uses distinct colors to distinguish different sets of data:
Automatically use colors and shapes to distinguish sets of data:
Use shapes only:
Change the size of the default plot markers:
Use arbitrary text for plot markers:
Use explicit graphics for plot markers:
Use the same symbol for all the sets of data:
Explicitly use a symbol and size:
PlotRange (2)
PlotRange is automatically calculated:
Show the whole dataset:
PlotStyle (7)
Use different style directives:
By default, different styles are chosen for multiple datasets:
Explicitly specify the style for different datasets:
PlotStyle applies to both lines and points:
PlotStyle can be combined with ColorFunction and has lower priority:
PlotStyle can be combined with MeshShading and has lower priority:
PlotTheme (1)
Use a theme with simple ticks and plot markers in a bright color scheme:
Change the plot markers:
ScalingFunctions (2)
By default ListLogLinearPlot uses a Log scale on the x axis and natural scale for y:
Use a scale whose values increase from top to bottom:
Reverse both sets of axes:
See Also
Tech Notes
Related Guides
History
Introduced in 2007 (6.0) | Updated in 2008 (7.0) ▪ 2012 (9.0) ▪ 2014 (10.0) ▪ 2016 (10.4) ▪ 2016 (11.0) ▪ 2018 (11.3) ▪ 2019 (12.0) ▪ 2022 (13.1) ▪ 2023 (13.3) ▪ 2025 (14.2)
Text
Wolfram Research (2007), ListLogLinearPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ListLogLinearPlot.html (updated 2025).
CMS
Wolfram Language. 2007. "ListLogLinearPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ListLogLinearPlot.html.
APA
Wolfram Language. (2007). ListLogLinearPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListLogLinearPlot.html
BibTeX
@misc{reference.wolfram_2025_listloglinearplot, author="Wolfram Research", title="{ListLogLinearPlot}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ListLogLinearPlot.html}", note=[Accessed: 27-April-2025 ]}
BibLaTeX
@online{reference.wolfram_2025_listloglinearplot, organization={Wolfram Research}, title={ListLogLinearPlot}, year={2025}, url={https://reference.wolfram.com/language/ref/ListLogLinearPlot.html}, note=[Accessed: 27-April-2025 ]}