Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • System Modeler

    Multidomain modeling and simulation of complex systems

  • Compute ServicesUse with Mathematica and Wolfram|One
  • AI AccessUse with Mathematica and Wolfram|One
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Wolfram|Alpha

  • Wolfram|Alpha Website
  • Wolfram|Alpha APIs

AI Products

  • Wolfram AI Ecosystem
  • Wolfram Foundation Tool
  • Wolfram Cloud MCP
  • Wolfram Local MCP
  • Agent One API
  • CAG Component APIs

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • Linguistic Understanding

Additional Deployment Options

  • Wolfram Cloud
  • Wolfram Web Engine
  • wolframscript
  • WSTPServer
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

Wolfram Consulting

Data Science, Finance & Business

  • Artificial Intelligence
  • Data Science
  • Healthcare
  • Real Estate

Engineering

  • Civil Engineering
  • Automotive Engineering
  • Sustainable Energy

Science & Technology

  • AgTech
  • Biosciences
  • Environmental Science
  • Food Science
  • Quantum Computation
  • Social and Behavioral Sciences

More Wolfram Solutions

Technology for Education

  • Research Universities
  • Colleges & Teaching Universities
  • High Schools
  • Resources for Students

Education Initiatives

  • Next-Gen EdTech
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
For AIs
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • System Modeler
    • Compute ServicesUse with Mathematica and Wolfram|One
    • AI AccessUse with Mathematica and Wolfram|One
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Wolfram|Alpha
      • Wolfram|Alpha Website
      • Wolfram|Alpha APIs
    • AI Products
      • Wolfram AI Ecosystem
      • Wolfram Foundation Tool
      • Wolfram Cloud MCP
      • Wolfram Local MCP
      • Agent One API
      • CAG Component APIs
    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • Linguistic Understanding
    • Additional Deployment Options
      • Wolfram Cloud
      • Wolfram Web Engine
      • wolframscript
      • WSTPServer
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions
    • Wolfram Consulting

    Data Science, Finance & Business

    • Artificial Intelligence
    • Data Science
    • Healthcare
    • Real Estate

    Engineering

    • Civil Engineering
    • Automotive Engineering
    • Sustainable Energy

    Science & Technology

    • AgTech
    • Biosciences
    • Environmental Science
    • Food Science
    • Quantum Computation
    • Social and Behavioral Sciences

    More Wolfram Solutions

    Technology for Education

    • Research Universities
    • Colleges & Teaching Universities
    • High Schools
    • Resources for Students

    Education Initiatives

    • Next-Gen EdTech
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • For AIs
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
ListLogPlot
  • See Also
    • LogPlot
    • ListPlot
    • ListLogLinearPlot
    • ListLogLogPlot
    • DateListLogPlot
  • Related Guides
    • Data Visualization
    • Scientific Data Analysis
    • GPU Computing
    • Numbers with Uncertainty
    • Date & Time Visualization
    • GPU Computing with NVIDIA
    • GPU Computing with Apple
  • Tech Notes
    • Some Special Plots
    • See Also
      • LogPlot
      • ListPlot
      • ListLogLinearPlot
      • ListLogLogPlot
      • DateListLogPlot
    • Related Guides
      • Data Visualization
      • Scientific Data Analysis
      • GPU Computing
      • Numbers with Uncertainty
      • Date & Time Visualization
      • GPU Computing with NVIDIA
      • GPU Computing with Apple
    • Tech Notes
      • Some Special Plots

ListLogPlot[{y1,y2,…}]

makes a log plot of the yi, assumed to correspond to x coordinates 1, 2, ….

ListLogPlot[{{x1,y1},{x2,y2},…}]

makes a log plot of the specified list of x and y values.

ListLogPlot[{data1,data2,…}]

plots data from all the datai.

ListLogPlot[{…,w[datai,…],…}]

plots datai with features defined by the symbolic wrapper w.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
General Data  
Tabular Data  
Special Data  
Data Wrappers  
Labeling and Legending  
Presentation  
Options  
ClippingStyle  
ColorFunction  
ColorFunctionScaling  
Show More Show More
DataRange  
Filling  
FillingStyle  
InterpolationOrder  
IntervalMarkers  
IntervalMarkersStyle  
Joined  
LabelingFunction  
LabelingSize  
LabelingTarget  
MaxPlotPoints  
Mesh  
MeshFunctions  
MeshShading  
MeshStyle  
PlotFit  
PlotFitElements  
PlotHighlighting  
PlotInteractivity  
PlotLabel  
PlotLabels  
PlotLayout  
PlotLegends  
PlotMarkers  
PlotRange  
PlotStyle  
PlotTheme  
ScalingFunctions  
Applications  
Properties & Relations  
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • LogPlot
    • ListPlot
    • ListLogLinearPlot
    • ListLogLogPlot
    • DateListLogPlot
  • Related Guides
    • Data Visualization
    • Scientific Data Analysis
    • GPU Computing
    • Numbers with Uncertainty
    • Date & Time Visualization
    • GPU Computing with NVIDIA
    • GPU Computing with Apple
  • Tech Notes
    • Some Special Plots
    • See Also
      • LogPlot
      • ListPlot
      • ListLogLinearPlot
      • ListLogLogPlot
      • DateListLogPlot
    • Related Guides
      • Data Visualization
      • Scientific Data Analysis
      • GPU Computing
      • Numbers with Uncertainty
      • Date & Time Visualization
      • GPU Computing with NVIDIA
      • GPU Computing with Apple
    • Tech Notes
      • Some Special Plots

ListLogPlot

ListLogPlot[{y1,y2,…}]

makes a log plot of the yi, assumed to correspond to x coordinates 1, 2, ….

ListLogPlot[{{x1,y1},{x2,y2},…}]

makes a log plot of the specified list of x and y values.

ListLogPlot[{data1,data2,…}]

plots data from all the datai.

ListLogPlot[{…,w[datai,…],…}]

plots datai with features defined by the symbolic wrapper w.

Details and Options

  • ListLogPlot is also known as semi-logarithmic or semi-log plot since it has one logarithmic axis and one linear axis.
  • ListLogPlot effectively plots points based on Log[yi], but with tick marks indicating the unscaled values yi.
  • ListLogPlot makes exponentials appear as straight lines.
  • Data values xi and yi can be given in the following forms:
  • xia real-valued number
    Quantity[xi,unit]a quantity with a unit
    Around[xi,ei]value xi with uncertainty ei
    Interval[{xmin,xmax}]values between xmin and xmax
  • 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,…}
    <|x1y1,x2y2,…|>key-value pairs {{x1,y1},{x2,y2},…}
    {y1"lbl1",y2"lbl2",…}, {y1,y2,…}{"lbl1","lbl2",…}values {y1,y2,…} with labels {lbl1,lbl2,…}
    SparseArrayvalues as a normal array
    TimeSeries, EventSeriestime-value pairs
    QuantityArraymagnitudes
    WeightedDataunweighted values
  • ListLogPlot[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.
  • ListLogPlot[TimeSeries[…]cspec] and ListLogPlot[EventSeries[…]cspec] extract and plot values from the time or event series using the component specification cspec.
  • The following forms of component specifications cspec are allowed for plotting series data:
  • complot component com against the timestamps
    {com1,com2,…}plot each component comi against the timestamps
  • The following wrappers w can be used for the datai:
  • Annotation[datai,label]provide an annotation for the data
    Button[datai,action]define an action to execute when the data is clicked
    Callout[datai,label]label the data with a callout
    Callout[datai,label,pos]place the callout at relative position pos
    EventHandler[datai,…]define a general event handler for the data
    Highlighted[fi,effect]dynamically highlight fi with an effect
    Highlighted[fi,Placed[effect,pos]]statically highlight fi with an effect at position pos
    Hyperlink[datai,uri]make the data a hyperlink
    Labeled[datai,label]label the data
    Labeled[datai,label,pos]place the label at relative position pos
    Legended[datai,label]identify the data in a legend
    PopupWindow[datai,cont]attach a popup window to the data
    StatusArea[datai,label]display in the status area on mouseover
    Style[datai,styles]show the data using the specified styles
    Tooltip[datai,label]attach a tooltip to the data
    Tooltip[datai]use data values as tooltips
  • 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 data
    w[{data1,…}]wrap a collection of datai
    w1[w2[…]]use nested wrappers
  • Callout, Labeled, and Placed allow the following positions:
  • Automaticautomatically placed labels
    Above, Below, Before, Afterpositions around the data
    xnear the data at a position x
    Scaled[s]scaled position s along the data
    {s,Above},{s,Below},…relative position at position s along the data
    {pos,epos}epos in label placed at relative position pos of the data
  • ListLogPlot has the same options as Graphics, with the following additions and changes: [List of all options]
  • AspectRatio1/GoldenRatioratio of height to width
    AxesTruewhether to draw axes
    DataRange Automaticthe range of x values to assume for data
    IntervalMarkers Automatichow to render uncertainty
    IntervalMarkersStyle Automaticstyle for uncertainty elements
    Filling Nonehow to fill in stems for each point
    FillingStyle Automaticstyle to use for filling
    Joined Automaticwhether to join points
    LabelingFunction Automatichow to label points
    LabelingSize Automaticmaximum size of callouts and labels
    LabelingTarget Automatichow to determine automatic label positions
    PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
    PlotFit Nonehow to fit a curve to the points
    PlotFitElements Automaticfitted elements to show in the plot
    PlotHighlighting Automatichighlighting effect for data
    PlotInteractivity $PlotInteractivitywhether to allow interactive elements
    PlotLabel Noneoverall label for the plot
    PlotLabels Nonelabels for data
    PlotLayout "Overlaid"how to position data
    PlotLegends Nonelegends for data
    PlotMarkers Nonemarkers to use to indicate each point
    PlotRange Automaticrange of values to include
    PlotRangeClippingTruewhether to clip at the plot range
    PlotStyle Automaticgraphics directives to determine styles of points
    PlotTheme $PlotThemeoverall theme for the plot
    ScalingFunctions Nonehow to scale individual coordinates
    TargetUnitsAutomaticunits to display in the plot
  • DataRange determines how values {y1,…,yn} are interpreted into {{x1,y1},…,{xn,yn}}. Possible settings include:
  • Automatic,Alluniform from 1 to n
    {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
    {"Column",UpTo[k]},{"Row",UpTo[k]}use at most k columns or rows
  • Typical settings for PlotLegends include:
  • Noneno legend
    Automaticautomatically determine legend
    {lbl1,lbl2,…}use lbl1, lbl2, … as legend labels
    Placed[lspec,…]specify placement for legend
  • PlotStylesty specifies the styles to use for each curve. Possible settings include:
  • {sty1,sty2,…}sequence of styles for the datasets
    <|"key"val,…|>styling elements for different levels of data
  • The accepted keys are:
  • "Base"overall style for all the datai
    "Lists"list of styles styi for each datai
  • ColorData["DefaultPlotColors"] gives the default sequence of colors used by PlotStyle.
  • Possible highlighting effects for Highlighted and PlotHighlighting include:
  • stylehighlight 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
    Placed[effect,pos]statically highlight the given position pos
  • 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:
  • syscale 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 y axis are applied after default log scale has been applied.
  • List of all options

    • AlignmentPointCenterthe default point in the graphic to align with
      AspectRatio1/GoldenRatioratio of height to width
      AxesTruewhether to draw axes
      AxesLabelNoneaxes labels
      AxesOriginAutomaticwhere axes should cross
      AxesStyle{}style specifications for the axes
      BackgroundNonebackground color for the plot
      BaselinePositionAutomatichow to align with a surrounding text baseline
      BaseStyle{}base style specifications for the graphic
      ContentSelectableAutomaticwhether to allow contents to be selected
      CoordinatesToolOptionsAutomaticdetailed behavior of the coordinates tool
      DataRangeAutomaticthe range of x values to assume for data
      Epilog{}primitives rendered after the main plot
      FillingNonehow to fill in stems for each point
      FillingStyleAutomaticstyle to use for filling
      FormatTypeTraditionalFormthe default format type for text
      FrameFalsewhether to put a frame around the plot
      FrameLabelNoneframe labels
      FrameStyle{}style specifications for the frame
      FrameTicksAutomaticframe ticks
      FrameTicksStyle{}style specifications for frame ticks
      GridLinesNonegrid lines to draw
      GridLinesStyle{}style specifications for grid lines
      ImageMargins0.the margins to leave around the graphic
      ImagePaddingAllwhat extra padding to allow for labels etc.
      ImageSizeAutomaticthe absolute size at which to render the graphic
      IntervalMarkersAutomatichow to render uncertainty
      IntervalMarkersStyleAutomaticstyle for uncertainty elements
      JoinedAutomaticwhether to join points
      LabelingFunctionAutomatichow to label points
      LabelingSizeAutomaticmaximum size of callouts and labels
      LabelingTargetAutomatichow to determine automatic label positions
      LabelStyle{}style specifications for labels
      MethodAutomaticdetails of graphics methods to use
      PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
      PlotFitNonehow to fit a curve to the points
      PlotFitElementsAutomaticfitted elements to show in the plot
      PlotHighlightingAutomatichighlighting effect for data
      PlotInteractivity$PlotInteractivitywhether to allow interactive elements
      PlotLabelNoneoverall label for the plot
      PlotLabelsNonelabels for data
      PlotLayout"Overlaid"how to position data
      PlotLegendsNonelegends for data
      PlotMarkersNonemarkers to use to indicate each point
      PlotRangeAutomaticrange of values to include
      PlotRangeClippingTruewhether to clip at the plot range
      PlotRangePaddingAutomatichow much to pad the range of values
      PlotRegionAutomaticthe final display region to be filled
      PlotStyleAutomaticgraphics directives to determine styles of points
      PlotTheme$PlotThemeoverall theme for the plot
      PreserveImageOptionsAutomaticwhether to preserve image options when displaying new versions of the same graphic
      Prolog{}primitives rendered before the main plot
      RotateLabelTruewhether to rotate y labels on the frame
      ScalingFunctionsNonehow to scale individual coordinates
      TargetUnitsAutomaticunits to display in the plot
      TicksAutomaticaxes ticks
      TicksStyle{}style specifications for axes ticks

Examples

open all close all

Basic Examples  (5)

Plot a list of values with logarithmic scaling:

Wolfram Language code: ListLogPlot[Table[PartitionsQ[n], {n, 50}]]

Join the points with a line:

Wolfram Language code: ListLogPlot[Table[PartitionsQ[n], {n, 50}], Joined -> True]

Plot a list of , pairs using logarithmic scaling of :

Wolfram Language code: ListLogPlot[Table[{n, n!}, {n, 1, 20, .1}], Joined -> True]

Plot multiple sets of data with a legend:

Wolfram Language code: {data1, data2, data3} = Transpose[Table[{n, 2 ^ n, Fibonacci[n]}, {n, 10}]];
Wolfram Language code: ListLogPlot[{data1, data2, data3}, Joined -> True, PlotLegends -> {n, 2 ^ n, Fibonacci[n]}]

Label each curve:

Wolfram Language code: {data1, data2, data3} = Transpose[Table[{n, 2 ^ n, Fibonacci[n]}, {n, 10}]];
Wolfram Language code: ListLogPlot[{data1, data2, data3}, Joined -> True, PlotLabels -> {n, 2 ^ n, Fibonacci[n]}]

Generate filled plots:

Wolfram Language code: ListLogPlot[Table[PartitionsQ[n], {n, 50}], Filling -> Bottom]
Wolfram Language code: ListLogPlot[Table[PartitionsQ[n], {n, 50}], Filling -> Bottom, Joined -> True]

Scope  (58)

General Data  (11)

For regular data consisting of values, the data range is taken to be integer values:

Wolfram Language code: ListLogPlot[Range[40]]

Provide an explicit data range by using DataRange:

Wolfram Language code: ListLogPlot[Range[40], DataRange -> {0, 1}]

Plot multiple sets of regular data:

Wolfram Language code: ListLogPlot[{Sqrt[Range[40]], Log[Range[40, 80]]}]

For irregular data consisting of , value pairs, the data range is inferred from data:

Wolfram Language code: data = Last[Reap[NIntegrate[1 / x ^ 2, {x, 0.1, 2}, EvaluationMonitor :> Sow[{x, 1 / x ^ 2}]]]];
Wolfram Language code: ListLogPlot[data]

Plot multiple sets of irregular data:

Wolfram Language code: data1 = Table[{x, x ^ 3}, {x, RandomReal[10, 50]}]; data2 = Table[{x, x ^ 5}, {x, RandomReal[10, 250]}];
Wolfram Language code: ListLogPlot[{data1, data2}]

Plot multiple sets of data, regular or irregular, using DataRange to map them to the same range:

Wolfram Language code: data1 = Table[x ^ 3, {x, 0.1, 5, 0.1}]; data2 = Table[{x, x ^ 5}, {x, RandomReal[5, 250]}];
Wolfram Language code: ListLogPlot[{data1, data2}, DataRange -> {0, 5}]

Ranges where the data is nonpositive are excluded:

Wolfram Language code: ListLogPlot[{1, 2, 3, 1 + I, 4, 5, 6, None, 7, 8, 9, Missing["NotAvailable"], 10, 11, 12}, Joined -> True, Mesh -> All]
Wolfram Language code: ListLogPlot[Sin[Range[0, 3Pi, 0.1]], Joined -> True, Mesh -> All]

Use MaxPlotPoints to limit the number of points used:

Wolfram Language code: Table[ListLogPlot[Table[{n, (Sin[3n] + 1)Gamma[n]}, {n, 0, 10, 0.01}], MaxPlotPoints -> mp, Joined -> True, Mesh -> All], {mp, {Infinity, 50, 30}}]

PlotRange is selected automatically:

Wolfram Language code: {ListLogPlot[{0, 1, 2, 3, 500, 5, 6, 7}, Joined -> True], ListLogPlot[{0, 1, 2, 3, 500, 5, 6, 7}, Joined -> True, PlotRange -> All]}

Use PlotRange to focus on areas of interest:

Wolfram Language code: {ListLogPlot[Table[{x, Exp[x] / Abs[x - 2]}, {x, 0, 5, 0.05}]], ListLogPlot[Table[{x, Exp[x] / Abs[x - 2]}, {x, 0, 5, 0.05}], PlotRange -> {10, 100}]}//Quiet

Use ScalingFunctions to reverse the plot on the y axis:

Wolfram Language code: ListLogPlot[Table[{x, Sin[1 / x]}, {x, 0.01, 5, 0.05}], ScalingFunctions -> "Reverse"]

Use a Log scale for the x axis:

Wolfram Language code: ListLogPlot[Table[{x, Sin[1 / x]}, {x, 0.01, 40, 0.05}], ScalingFunctions -> {"Log", Automatic}]

Tabular Data  (3)

Get tabular data:

Wolfram Language code: tab = ToTabular[ResourceData["US Hurricane Losses"]]

Plot reported losses on a log scale against the years:

Wolfram Language code: ListLogPlot[tab -> {"Year", "ReportedLosses"}, PlotRange -> All]

Plot adjusted losses and reported losses separately:

Wolfram Language code: ListLogPlot[tab -> {{"Year", "AdjustedLosses"}, {"Year", "ReportedLosses"}}]

Plot all the data in TimeSeries or EventSeries:

Wolfram Language code: ListLogPlot[TimeSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> False, "Timestamps" -> TabularColumn[Association[ "Data" -> {7, {{NumericArray[{-248, 118, 298, 638, 865, 1006, 1216}, "Integer32"], {}, None}}, None}, ... "Data" -> {{32, 62, 112, 167, 179, 209, 214}, {}, None}, "ElementType" -> "Integer64"]], TabularColumn[Association["Data" -> {{30, 49, 81, 125, 142, 174, 177}, {}, None}, "ElementType" -> "Integer64"]]}}]]]], Association[]]]

Plot a specific component of a TimeSeries or EventSeries:

Wolfram Language code: trees = TimeSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> False, "Timestamps" -> TabularColumn[Association[ "Data" -> {7, {{NumericArray[{-248, 118, 298, 638, 865, 1006, 1216}, "Integer32"], {}, None}}, None}, ... "Data" -> {{32, 62, 112, 167, 179, 209, 214}, {}, None}, "ElementType" -> "Integer64"]], TabularColumn[Association["Data" -> {{30, 49, 81, 125, 142, 174, 177}, {}, None}, "ElementType" -> "Integer64"]]}}]]]], Association[]];
Wolfram Language code: ListLogPlot[trees -> "tree 1"]

Plot multiple components:

Wolfram Language code: ListLogPlot[trees -> {"tree 1", "tree 2"}]

Special Data  (9)

Use Quantity to include units with the data:

Wolfram Language code: ListLogPlot[Quantity[Sqrt[Range[10]], "Meters"], AxesLabel -> Automatic]

Include different units for the and coordinates:

Wolfram Language code: data = EntityValue[EntityClass["Element", All], {"AtomicMass", "MeltingPoint"}];
Wolfram Language code: ListLogPlot[data, AxesLabel -> Automatic]

Plot data in a QuantityArray:

Wolfram Language code: data = QuantityArray[EntityValue[EntityClass["Element", All], {"AtomicMass", "MeltingPoint"}]]
Wolfram Language code: ListLogPlot[data, AxesLabel -> Automatic]

Specify the units used with TargetUnits:

Wolfram Language code: ListLogPlot[data, TargetUnits -> {Automatic, "Kelvin"}, AxesLabel -> Automatic]

Plot data with uncertainty:

Wolfram Language code: ListLogPlot[Table[Around[RandomReal[100], RandomReal[1]], 20]]

Use intervals:

Wolfram Language code: ListLogPlot[Table[Interval[RandomReal[{1, 100}, 2]], 20]]

Specify strings to use as labels:

Wolfram Language code: ListLogPlot[{2 -> "a", 3 -> "b", 5 -> "c", 7 -> "d", 11 -> "e", 13 -> "f", 17 -> "g"}]
Wolfram Language code: ListLogPlot[{2, 3, 5, 7, 11, 13, 17} -> {"a", "b", "c", "d", "e", "f", "g"}]

Specify a location for labels:

Wolfram Language code: ListLogPlot[{2, 3, 5, 7, 11, 13, 17} -> {"a", "b", "c", "d", "e", "f", "g"}, LabelingFunction -> Above]

Numeric values in an Association are used as the coordinates:

Wolfram Language code: ListLogPlot[<|"a" -> 2, "b" -> 3, "c" -> 5, "d" -> 7, "e" -> 11, "f" -> 13|>]

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

Wolfram Language code: ListLogPlot[<|2 -> 1, 3 -> 2, 5 -> 3, 7 -> 4, 11 -> 5, 13 -> 6|>]

Plot TimeSeries directly:

Wolfram Language code: data = CountryData["UnitedStates", {{"Population"}, {1988, 2013}}]
Wolfram Language code: ListLogPlot[data, AxesLabel -> Automatic]

Plot data in a SparseArray:

Wolfram Language code: ListLogPlot[SparseArray[Table[Prime[i] -> 1, {i, 25}]]]

The weights in WeightedData are ignored:

Wolfram Language code: ListLogPlot[WeightedData[{2, 3, 5, 7, 11, 13, 17, 19, 23, 29}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}]]

Data Wrappers  (6)

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

Wolfram Language code: {ListLogPlot[{{1, Style[2, Red], 3}, {4, 5, 6}}, PlotStyle -> PointSize[0.05]], ListLogPlot[{Style[{1, 2, 3}, Green], {4, 5, 6}}, PlotStyle -> PointSize[0.05]], ListLogPlot[Style[{{1, 2, 3}, {4, 5, 6}}, Blue], PlotStyle -> PointSize[0.05]]}

Wrappers can be nested:

Wolfram Language code: {ListLogPlot[{{1, Style[2, Red], 3}, {4, 5, 6}}, PlotStyle -> PointSize[0.05]], ListLogPlot[{Style[{1, Style[2, Red], 3}, Green], {4, 5, 6}}, PlotStyle -> PointSize[0.05]], ListLogPlot[Style[{Style[{1, Style[2, Red], 3}, Green], {4, 5, 6}}, Blue], PlotStyle -> PointSize[0.05]]}

Use the value of each point as a tooltip:

Wolfram Language code: ListLogPlot[Tooltip[Prime[Range[100]]]]

Use a specific label for all the points:

Wolfram Language code: ListLogPlot[Tooltip[Prime[Range[100]], "primes"]]

Labels points with automatically positioned text:

Wolfram Language code: ListLogPlot[Table[Labeled[RandomReal[1, 2], i], {i, 20}], PlotStyle -> PointSize[Medium], ImageSize -> 300]

Use PopupWindow to provide additional drilldown information:

Wolfram Language code: ListLogPlot[{1, PopupWindow[2, DateListPlot[FinancialData["IBM", "Jan. 1, 2004"]]], 3}, PlotStyle -> PointSize[0.05]]

Button can be used to trigger any action:

Wolfram Language code: ListLogPlot[{1, Button[2, Speak[2]], 3}, PlotStyle -> PointSize[0.05]]

Labeling and Legending  (16)

Label points with automatically positioned text:

Wolfram Language code: ListLogPlot[Table[Labeled[RandomReal[1, 2], i], {i, 20}]]

Place the labels relative to the points:

Wolfram Language code: Table[ListLogPlot[Table[Labeled[RandomReal[1, 2], i, p], {i, 5}], PlotLabel -> p], {p, {Above, Below, Before, After}}]

Label data with Labeled:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 2Pi, 0.1}], {f, {Exp[x], Log[2x]}}];
Wolfram Language code: ListLogPlot[MapThread[Labeled[#1, #2]&, {data, {Exp[x], Log[2x]}}]]

Label data with PlotLabels:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 2Pi, 0.1}], {f, {Exp[x], Exp[x + 2]}}];
Wolfram Language code: ListLogPlot[data, PlotLabels -> {Exp[x], Exp[x + 2]}]

Place the label near the points at an value:

Wolfram Language code: ListLogPlot[Labeled[Table[{x, Exp[x]}, {x, 0, 2Pi, 0.1}], "exp(x)", 3]]

Use a scaled position:

Wolfram Language code: ListLogPlot[Labeled[Table[{x, x}, {x, 1, 2Pi, 0.1}], "log(x)", Scaled[0.25]]]

Specify the text position relative to the point:

Wolfram Language code: ListLogPlot[Labeled[Table[{x, Log[x]}, {x, 1.1, 2Pi, 0.1}], Log[x], {Scaled[0.25], Above}]]

Specify the maximum size of labels:

Wolfram Language code: data = Table[Labeled[Prime[i], RandomWord[]], {i, 10}];
Wolfram Language code: ListLogPlot[data, LabelingSize -> 30]

Use the full label:

Wolfram Language code: ListLogPlot[data, LabelingSize -> Full]

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

Wolfram Language code: data = Table[Callout[RandomReal[1, 2], i], {i, 100}];
Wolfram Language code: ListLogPlot[data]

Increasing the size of the plot will show more labels:

Wolfram Language code: ListLogPlot[data, ImageSize -> 400]

Label data automatically with Callout:

Wolfram Language code: ListLogPlot[{Callout[Table[PartitionsQ[n], {n, 18}], PartitionsQ[n]], Callout[Table[1 / (n ^ 2), {n, 18}], 1 / (n ^ 2)]}]

Place a label with a specific location:

Wolfram Language code: ListLogPlot[Callout[Table[n ^ Sin[n], {n, 1, 10, 0.25}], "max", Above]]
Wolfram Language code: ListLogPlot[Callout[Table[1 / (n ^ 2), {n, 18}], "label", {12, 0.1}, 10]]

Specify label names with LabelingFunction:

Wolfram Language code: ListLogPlot[Prime[Range[10]], LabelingFunction -> (#1 &)]

Include legends for each curve:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 2Pi, 0.1}], {f, {Log[x], Exp[2x]}}];
Wolfram Language code: ListLogPlot[data, PlotLegends -> {Log[x], Exp[2x]}]

Use Legended to provide a legend for a specific dataset:

Wolfram Language code: upper = RandomReal[{1.5, 2}, 50]; lower = RandomReal[0.5, 50];
Wolfram Language code: ListLogPlot[{lower, Legended[Mean[{lower, upper}], "average"], upper}]

Use Placed to change the legend location:

Wolfram Language code: ListLogPlot[{lower, Legended[Mean[{lower, upper}], Placed["average", Below]], upper}]

Use association keys as labels:

Wolfram Language code: ListLogPlot[<|"fibonacci" -> Fibonacci[Range[10]], "primes" -> Prime[Range[10]]|>, PlotLabels -> Automatic, PlotLegends -> None]

Plots usually have interactive callouts showing the coordinates when you mouse over them:

Wolfram Language code: ListLogPlot[{IconizedObject[«Fibonacci»], IconizedObject[«Primes»]}]

Including specific wrappers or interactions, such as tooltips, turns off the interactive features:

Wolfram Language code: ListLogPlot[Callout[IconizedObject[«Fibonacci»], "hello", 10]]

Choose from multiple interactive highlighting effects:

Wolfram Language code: {ListLogPlot[{IconizedObject[«Fibonacci»], IconizedObject[«Primes»]}, PlotHighlighting -> "Dropline"], ListLogPlot[{IconizedObject[«Fibonacci»], IconizedObject[«Primes»]}, PlotHighlighting -> "XSlice"]}

Use Highlighted to emphasize specific points in a plot:

Wolfram Language code: ListLogPlot[Highlighted[IconizedObject[«Fibonacci»], Placed["Ball", 7]]]

Highlight multiple points:

Wolfram Language code: ListLogPlot[Highlighted[IconizedObject[«Fibonacci»], Placed["Ball", {{3}, {8}}]]]

Presentation  (13)

Multiple datasets are automatically colored to be distinct:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 10, 0.1}], {f, {Exp[x], Gamma[x]}}];
Wolfram Language code: ListLogPlot[data]

Provide explicit styling to different sets:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 10, 0.1}], {f, {Exp[x], Gamma[x]}}];
Wolfram Language code: ListLogPlot[data, PlotStyle -> {Blue, Red}]

Include legends for each curve:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 10, 0.1}], {f, {Exp[x], Gamma[x]}}];
Wolfram Language code: ListLogPlot[data, PlotLegends -> {Exp[x], Gamma[x]}]

Use Legended to provide a legend for a specific dataset:

Wolfram Language code: upper = RandomReal[{1.5, 2}, 50]; lower = RandomReal[0.5, 50];
Wolfram Language code: ListLogPlot[{lower, Legended[Mean[{lower, upper}], "average"], upper}]

Add labels:

Wolfram Language code: ListLogPlot[Table[{k, Binomial[30, k]}, {k, 0, 31}], AxesLabel -> {k, None}, PlotLabel -> Binomial[30, k], PlotStyle -> Directive[PointSize[Medium], Purple]]

Provide an interactive Tooltip for the data:

Wolfram Language code: ListLogPlot[Table[Tooltip[x, If[PrimeQ[x], Row[{"prime: ", x}], x]], {x, 1, 25}], PlotStyle -> Directive[PointSize[Medium], Orange]]
Wolfram Language code: data = Table[Tooltip[Table[{x, f}, {x, 0, 10, 0.1}], TraditionalForm[f]], {f, {Exp[x], Gamma[x]}}];
Wolfram Language code: ListLogPlot[data, Joined -> True, PlotStyle -> Thick]

Create filled plots:

Wolfram Language code: data = Table[Table[{x, f}, {x, 0, 10, 0.1}], {f, {Exp[x], Gamma[x]}}];
Wolfram Language code: ListLogPlot[data, Filling -> {1 -> {2}}, FillingStyle -> {Red, Blue}]

Use shapes to distinguish different datasets:

Wolfram Language code: ListLogPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 10, 14, 16}}, PlotMarkers -> Automatic]

Use labels to distinguish different datasets:

Wolfram Language code: ListLogPlot[{{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}, {4, 5, 10, 14, 16}}, PlotMarkers -> {"1", "2", "3"}]

Use Joined to connect datasets with lines:

Wolfram Language code: ListLogPlot[{1, 2, 4, 7, 3, 5, 8, 10, 9}, Joined -> True, PlotStyle -> Orange]

Use InterpolationOrder to smooth joined data:

Wolfram Language code: Table[ListLogPlot[{2, 4, 16, 128, 8, 32, 256, 1024, 512}, Joined -> True, InterpolationOrder -> io, PlotStyle -> Dashed], {io, {0, 1, 2, 3}}]

Use a theme with detailed frame ticks and grid lines:

Wolfram Language code: ListLogPlot[Table[Table[{x, f}, {x, 0, 10, 0.1}], {f, {Exp[x], Gamma[x]}}], PlotTheme -> "Detailed"]

Use a theme with a dark background and vibrant colors:

Wolfram Language code: ListLogPlot[Table[Table[{x, f}, {x, 0, 10, 0.25}], {f, {Exp[x], Gamma[x]}}], PlotTheme -> "Marketing"]

Plot the data in a stacked layout:

Wolfram Language code: data = {{10, 9, 4, 3, 5, 3, 5, 5, 2, 6}, {2, 10, 5, 6, 9, 4, 9, 3, 7, 2}, {7, 8, 3, 4, 4, 2, 6, 3, 8, 7}};
Wolfram Language code: ListLogPlot[data, PlotLayout -> "Stacked", Joined -> True]

Plot the data as percentiles of the total of the values:

Wolfram Language code: ListLogPlot[data, PlotLayout -> "Percentile", Joined -> True]

Options  (144)

ClippingStyle  (6)

ClippingStyle only applies to Joined datasets:

Wolfram Language code: data = Table[{x, Exp[Sin[x] / x ^ 2]}, {x, -1, 1, 0.025}];//Quiet
Wolfram Language code: {ListLogPlot[data, ClippingStyle -> Red, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}], ListLogPlot[data, ClippingStyle -> Red, Joined -> True, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}]}

Omit clipped regions of the plot:

Wolfram Language code: data = Table[{x, Exp[Sin[x] / x ^ 2]}, {x, -1, 1, 0.025}];//Quiet
Wolfram Language code: ListLogPlot[data, ClippingStyle -> None, Joined -> True, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}]

Show clipped regions like the rest of the curve:

Wolfram Language code: data = Table[{x, Exp[Sin[x] / x ^ 2]}, {x, -1, 1, 0.025}];//Quiet
Wolfram Language code: ListLogPlot[data, ClippingStyle -> Automatic, PlotStyle -> Thick, Joined -> True, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}]

Show clipped regions with red lines:

Wolfram Language code: data = Table[{x, Exp[Sin[x] / x ^ 2]}, {x, -1, 1, 0.025}];//Quiet
Wolfram Language code: ListLogPlot[data, ClippingStyle -> Red, Joined -> True, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}]

Show clipped regions as red at the bottom and thick at the top:

Wolfram Language code: data = Table[{x, Exp[Sin[x] / x ^ 2]}, {x, -1, 1, 0.025}];//Quiet
Wolfram Language code: ListLogPlot[data, ClippingStyle -> {Red, Thick}, Joined -> True, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}]

Show clipped regions as red and thick:

Wolfram Language code: data = Table[{x, Exp[Sin[x] / x ^ 2]}, {x, -1, 1, 0.025}];//Quiet
Wolfram Language code: ListLogPlot[data, ClippingStyle -> Directive[Red, Thick], Joined -> True, PlotRange -> {1*^-2, 1*^2}, AxesOrigin -> {-1, 1}]

ColorFunction  (6)

ColorFunction only applies to Joined datasets:

Wolfram Language code: {ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], ColorFunction -> "Rainbow"], ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], ColorFunction -> "Rainbow", Joined -> True]}

Color by scaled and coordinates:

Wolfram Language code: Table[ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], Joined -> True, ColorFunction -> Function[{x, y}, Evaluate[f]], PlotLabel -> f, PlotStyle -> Thick], {f, {Hue[x], Hue[y]}}]

Color with a named color scheme:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], Joined -> True, ColorFunction -> "DarkRainbow"]

Fill with the color used for the curve:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], Joined -> True, ColorFunction -> Function[{x, y}, Hue[x]], Filling -> Axis]

ColorFunction has higher priority than PlotStyle for coloring the curve:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], Joined -> True, ColorFunction -> "DarkRainbow", PlotStyle -> Directive[Red, Thick]]

Use Automatic in MeshShading to use ColorFunction:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 1, 7, 0.1}], Joined -> True, ColorFunction -> "Rainbow", PlotStyle -> Directive[Red, Thick], Mesh -> 10, MeshShading -> {Automatic, StandardGray}, MeshStyle -> None]

ColorFunctionScaling  (3)

ColorFunctionScaling only applies to Joined datasets:

Wolfram Language code: {ListLogPlot[Range[10], ColorFunction -> "Rainbow", ColorFunctionScaling -> True], ListLogPlot[Range[10], Joined -> True, ColorFunction -> "Rainbow", ColorFunctionScaling -> True]}

Use no argument scaling on the left and automatic scaling on the right:

Wolfram Language code: Table[LogLogPlot[Gamma[x], {x, 1, 7}, PlotStyle -> Thick, ColorFunction -> Function[{x, y}, Hue[y]], ColorFunctionScaling -> cf], {cf, {False, True}}]

Scaling is done on a linear scale in the original coordinates:

Wolfram Language code: Table[ListLogPlot[Table[Exp[t], {t, 0, 2 ^ i, 0.1}], Joined -> True, PlotStyle -> Thick, ColorFunction -> Function[{x, y}, Hue[y]]], {i, {0, 2, 4}}]

Use a color function that is red at powers of 10:

Wolfram Language code: ListLogPlot[Table[Gamma[x], {x, 1, 7, 0.1}], Joined -> True, ColorFunction -> Function[{x, y}, Hue[Log[10, y]]], PlotStyle -> Thick, ColorFunctionScaling -> False]

DataRange  (5)

Lists of height values are displayed against the number of elements:

Wolfram Language code: ListLogPlot[Table[Exp[x], {x, 0, 3, 0.1}]]

Rescale to the sampling space:

Wolfram Language code: ListLogPlot[Table[Exp[x], {x, 0, 3, 0.1}], DataRange -> {0, 3}]

Each dataset is scaled to the same domain:

Wolfram Language code: ListLogPlot[{Factorial[Range[30]], Exp[Range[10, 50]]}, DataRange -> {1, 5}]

Pairs are interpreted as , coordinates:

Wolfram Language code: ListLogPlot[Table[{i + 10, i!}, {i, 25}], AxesOrigin -> {1, 0}]

Specifying DataRange in this case has no effect, since values are part of the data:

Wolfram Language code: ListLogPlot[Table[{i + 10, i!}, {i, 25}], AxesOrigin -> {1, 0}, DataRange -> {1, 10}]

Force interpretation as multiple datasets:

Wolfram Language code: ListLogPlot[{{1, 4}, {2, 2}, {3, 3}}, DataRange -> All, AxesOrigin -> {0, 0}, Joined -> True]

Filling  (8)

Use symbolic or explicit values for "stem" filling:

Wolfram Language code: Table[ListLogPlot[Table[Prime[n], {n, 30}], Filling -> c], {c, {Top, Bottom, Axis, Prime[15]}}]

Fill between corresponding points in two datasets:

Wolfram Language code: ListLogPlot[{Range[20], Table[Prime[n], {n, 20}]}, Filling -> {1 -> {2}}]

Fill between datasets using a particular style:

Wolfram Language code: ListLogPlot[{Range[20], Table[Prime[n], {n, 20}]}, Filling -> {1 -> {{2}, Directive[Orange, Dashed]}}]

Fill between datasets 1 and 2; use red when 1 is less than 2 and blue otherwise:

Wolfram Language code: data1 = Factorial[Range[30]]; data2 = Exp[Range[30] + 15];
Wolfram Language code: ListLogPlot[{data1, data2}, Filling -> {1 -> {{2}, {Red, Blue}}}]

Fill to the axis for irregularly sampled data:

Wolfram Language code: data = Last[Reap[Plot[Abs[Tan[x]], {x, 0, 10}, EvaluationMonitor :> Sow[{x, Abs[Tan[x]]}]]]];
Wolfram Language code: ListLogPlot[data, Filling -> Axis]

Use several irregular datasets, filling between them:

Wolfram Language code: data1 = First@Last[Reap[Plot[Abs[Tan[x]], {x, 0, 2Pi}, EvaluationMonitor :> Sow[{x, Abs[Tan[x]]}]]]]; data2 = First@Last[Reap[Plot[Abs[Cot[x]], {x, 0, 2Pi}, EvaluationMonitor :> Sow[{x, Abs[Cot[x]]}]]]];
Wolfram Language code: ListPlot[{Sort@data1, Sort@data2}, Filling -> {1 -> {2}}]

Joined datasets fill with solid areas:

Wolfram Language code: ListLogPlot[{Range[20], Table[{n + 1 / 2, Prime[n]}, {n, 20}]}, Filling -> {1 -> {2}}, Joined -> True]

The type of filling depends on whether the first set is joined:

Wolfram Language code: Table[ListLogPlot[{Range[20], Range[20] / 2}, Joined -> {True, False}, Filling -> f, PlotLabel -> f], {f, {1 -> {2}, 2 -> {1}}}]

FillingStyle  (4)

Fill with blue "stems":

Wolfram Language code: ListLogPlot[Table[Prime[n], {n, 20}], Filling -> Axis, FillingStyle -> Blue]

Fill with dashed magenta "stems":

Wolfram Language code: ListLogPlot[Table[Prime[n], {n, 20}], Filling -> Axis, FillingStyle -> Directive[Magenta, Dashed]]

Fill with red below , and blue above:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 0, 10, 0.2}], Filling -> 100, FillingStyle -> {Red, Blue}]

Filling is solid when Joined->True:

Wolfram Language code: ListLogPlot[Table[Prime[n], {n, 20}], Filling -> Axis, Joined -> True]

InterpolationOrder  (5)

Lines created with Joined can be interpolated:

Wolfram Language code: ListLogPlot[{{1, 4, 2, 3, 10, 8, 2}}, Joined -> True, InterpolationOrder -> 2]

By default, linear interpolation is used:

Wolfram Language code: ListLogPlot[{{1, 4, 2, 3, 10, 8, 2}}, Joined -> True, InterpolationOrder -> None, Mesh -> Full]

Use zero-order or piecewise-constant interpolation:

Wolfram Language code: ListLogPlot[{{1, 4, 2, 3, 10, 8, 2}}, Joined -> True, InterpolationOrder -> 0, Mesh -> Full]

Use third-order spline interpolation:

Wolfram Language code: ListLogPlot[{{1, 4, 2, 3, 10, 8, 2}}, Joined -> True, InterpolationOrder -> 3, Mesh -> Full]

Interpolation order 0 to 5:

Wolfram Language code: Table[ListLogPlot[{{1, 4, 2, 3, 10, 8, 2}}, Joined -> True, InterpolationOrder -> i, Mesh -> Full, PlotLabel -> i], {i, 0, 5}]

IntervalMarkers  (3)

By default, uncertainties are capped:

Wolfram Language code: ListLogPlot[Table[Around[RandomReal[], 0.1], 10]]

Use bars to denote uncertainties without caps:

Wolfram Language code: ListLogPlot[Table[Around[RandomReal[], 0.1], 10], IntervalMarkers -> "Bars"]

Use bands to represent uncertainties:

Wolfram Language code: ListLogPlot[Table[Around[RandomReal[{0.5, 1}], .1], 10], IntervalMarkers -> "Bands", Joined -> True]

IntervalMarkersStyle  (2)

Uncertainties automatically inherit the plot style:

Wolfram Language code: ListLogPlot[{Table[Around[RandomReal[{50, 100}], 10], 10], Table[Around[RandomReal[{150, 200}], 10], 10]}, PlotMarkers -> Automatic]

Specify the style for uncertainties:

Wolfram Language code: ListLogPlot[{Table[Around[RandomReal[{50, 100}], 10], 10], Table[Around[RandomReal[{150, 200}], 10], 10]}, IntervalMarkersStyle -> Gray, PlotMarkers -> Automatic]

Joined  (6)

Join the dataset with a line:

Wolfram Language code: ListLogPlot[Table[Prime[n], {n, 25}], Joined -> True]

Join the first dataset with a line, but use points for the second dataset:

Wolfram Language code: ListLogPlot[{Range[25], Table[Prime[n], {n, 25}]}, Joined -> {True, False}]

Join the dataset with a line and show the original points:

Wolfram Language code: ListLogPlot[Table[Prime[n], {n, 25}], Joined -> True, Mesh -> All]

TimeSeries is shown as continuous lines:

Wolfram Language code: ListLogPlot[TimeSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> False, "Timestamps" -> TabularColumn[Association[ "Data" -> {12, {{NumericArray[{20089, 20120, 20148, 20179, 20209, 20240, 20270, 20301, 20332, 20362, ... 146, 166}, {}, None}, "ElementType" -> "Integer64"]], TabularColumn[Association["Data" -> {{204, 188, 235, 227, 234, 264, 302, 293, 259, 229, 203, 229}, {}, None}, "ElementType" -> "Integer64"]]}}]]]], Association[]]]

EventSeries is shown as discrete points:

Wolfram Language code: ListLogPlot[EventSeries[TimeEventSeries`TimestampData[Association["UniformlySpacedQ" -> False, "Timestamps" -> TabularColumn[Association[ "Data" -> {12, {{NumericArray[{20089, 20120, 20148, 20179, 20209, 20240, 20270, 20301, 20332, 20362, ... 146, 166}, {}, None}, "ElementType" -> "Integer64"]], TabularColumn[Association["Data" -> {{204, 188, 235, 227, 234, 264, 302, 293, 259, 229, 203, 229}, {}, None}, "ElementType" -> "Integer64"]]}}]]]], Association[]]]

The type of filling depends on whether the set is joined:

Wolfram Language code: Table[ListLogPlot[{Range[25], Range[25] / 2}, Joined -> {True, False}, Filling -> f, PlotLabel -> f], {f, {1 -> {2}, 2 -> {1}}}]

LabelingFunction  (6)

By default, points are automatically labeled with strings:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}]

Use LabelingFunction->None to suppress the labels:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}, LabelingFunction -> None]

Put the labels above the points:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}, LabelingFunction -> Above]

Put them in a tooltip:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}, LabelingFunction -> Tooltip]

Use callouts to label the points:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}, LabelingFunction -> Callout[Automatic, Automatic]]

Label the points with their values:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}, LabelingFunction -> (#1&)]

Label the points with their indices:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"a", "b", "c", "d", "e", "f"}, LabelingFunction -> (#2&)]

LabelingSize  (4)

Textual labels are shown at their actual sizes:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"healthfulness", "obstreperous", "spectrogram", "vestige", "coinage", "limey"}, ImageSize -> Medium]

Image labels are automatically resized:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {[image], [image], [image], [image], [image], [image]}, ImageSize -> Medium]

Specify a maximum size for textual labels:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {"healthfulness", "obstreperous", "spectrogram", "vestige", "coinage", "limey"}, ImageSize -> Medium, LabelingSize -> 30]

Specify a maximum size for image labels:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {[image], [image], [image], [image], [image], [image]}, ImageSize -> Medium, LabelingSize -> 20]

Show image labels at their natural sizes:

Wolfram Language code: ListLogPlot[{1, 1, 2, 3, 5, 8} -> {[image], [image], [image], [image], [image], [image]}, ImageSize -> Medium, LabelingSize -> Full]

LabelingTarget  (7)

Labels are automatically placed to maximize readability:

Wolfram Language code: ListLogPlot[IconizedObject[«data»]]

Show all labels:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> All]

Use a denser layout for the labels:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> "Dense"]

Show the quarter of the labels that are easiest to read:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> 0.25]

Only allow labels that are orthogonal to the points:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> <|"AllowedLabelingPositions" -> "Sides"|>]

Only allow labels that are diagonal to the points:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> <|"AllowedLabelingPositions" -> "Corners"|>]

Restrict labels to be above or to the right of the points:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> <|"AllowedLabelingPositions" -> {"Right", "Top"}|>]

Allow labels to obscure other points:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> <|"AllowedOverlaps" -> {"Points"}|>]

Allow labels to be clipped by the edges of the plot:

Wolfram Language code: ListLogPlot[IconizedObject[«data»], LabelingTarget -> <|"AllowLabelClipping" -> True|>]

MaxPlotPoints  (3)

All points are included by default:

Wolfram Language code: ListLogPlot[Gamma[Range[0, 10, 0.05]], Joined -> True, Mesh -> All]

Uniformly spaced data is downsampled:

Wolfram Language code: Table[ListLogPlot[Gamma[Range[0, 10, 0.05]], MaxPlotPoints -> mp, Joined -> True, Mesh -> All], {mp, {Infinity, 50, 30}}]

Nonuniform data is topologically subsampled to preserve features:

Wolfram Language code: Table[ListLogPlot[Table[{n, (Sin[3n] + 1)Gamma[n]}, {n, 0, 10, 0.01}], MaxPlotPoints -> mp, Joined -> True, Mesh -> All], {mp, {Infinity, 50, 30}}]
Wolfram Language code: Table[ListPlot[Table[{n(Cos[n / 5] + 1), n(Sin[n / 5] + 1)}, {n, 100.}], MaxPlotPoints -> mp, Joined -> True], {mp, {Infinity, 50, 30}}]

Mesh  (6)

Mesh only applies to Joined datasets:

Wolfram Language code: {ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> 10], ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> 10, Joined -> True]}

The initial and final sampling meshes are typically the same:

Wolfram Language code: {ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> Full, Joined -> True], ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> All, Joined -> True]}

Interpolated data may introduce points:

Wolfram Language code: {ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> Full, InterpolationOrder -> 2, Joined -> True], ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> All, InterpolationOrder -> 2, Joined -> True]}

Use 20 mesh levels evenly spaced in the direction:

Wolfram Language code: ListLogPlot[Table[Gamma[x], {x, 8}], Mesh -> 20, Joined -> True]

Use an explicit list of values for the mesh in the direction:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 0., 10, 0.1}], Mesh -> {Range[10]}, MeshStyle -> PointSize[Medium], Joined -> True]

Use explicit styles at specific points:

Wolfram Language code: ListLogPlot[Table[{x, Gamma[x]}, {x, 0, 10}], Mesh -> {Table[{x, Directive[Hue[x / (10)], PointSize[Medium]]}, {x, 1, 10, 1}]}, Joined -> True]

MeshFunctions  (3)

MeshFunctions only applies to Joined datasets:

Wolfram Language code: {ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshFunctions -> {#1&}], ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshFunctions -> {#1&}, Joined -> True]}

Use a mesh evenly spaced in the direction and unscaled in the direction:

Wolfram Language code: Table[ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], MeshFunctions -> {Function[{x, y}, Evaluate[f]]}, Mesh -> 9, PlotLabel -> f, Joined -> True], {f, {x, y}}]

Use a mesh logarithmically spaced in the direction:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], MeshFunctions -> {Function[{x, y}, Log[y]]}, Mesh -> 9, Joined -> True]

Show 5 mesh levels in the direction (red) and 10 in the direction (blue):

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> {5, 10}, MeshFunctions -> {#1&, #2&}, MeshStyle -> {Directive[PointSize[Medium], Red], Blue}, Joined -> True]

MeshShading  (7)

MeshShading only applies to Joined datasets:

Wolfram Language code: {ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshShading -> {Red, Blue}], ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshShading -> {Red, Blue}, Joined -> True]}

Alternate red and blue segments of equal width in the direction:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshFunctions -> {#1&}, MeshShading -> {Red, Blue}, Joined -> True]

Use None to remove segments:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshFunctions -> {#1&}, MeshShading -> {Red, None}, Joined -> True]

MeshShading can be used with PlotStyle:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, PlotStyle -> Thick, MeshFunctions -> {#1&}, MeshShading -> {Red, Blue}, Joined -> True]

MeshShading has higher priority than PlotStyle for styling the curve:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, PlotStyle -> Green, MeshFunctions -> {#1&}, MeshShading -> {Red, Blue}, Joined -> True]

Use PlotStyle for some segments by setting MeshShading to Automatic:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, PlotStyle -> Directive[Thick, Yellow], MeshFunctions -> {#1&}, MeshShading -> {Red, Automatic}, Joined -> True]

MeshShading can be used with ColorFunction and has higher priority:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, PlotStyle -> Thick, MeshFunctions -> {#1&}, MeshShading -> {StandardGray, Automatic}, ColorFunction -> Function[{x, y}, Hue[x]], Joined -> True]

MeshStyle  (5)

MeshStyle only applies to Joined datasets:

Wolfram Language code: {ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshStyle -> Red], ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshStyle -> Red, Joined -> True]}

Color the mesh the same color as the plot:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshStyle -> Automatic, Joined -> True]

Use a red mesh in the direction:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshStyle -> Red, Joined -> True]

Use a red mesh in the direction and a blue mesh in the direction:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshStyle -> {Red, Blue}, MeshFunctions -> {#1&, #2&}, Joined -> True]

Use big red mesh points in the direction:

Wolfram Language code: ListLogPlot[Table[Binomial[20, k], {k, 0, 20}], Mesh -> 10, MeshStyle -> Directive[PointSize[Large], Red], Joined -> True]

PlotFit  (4)

Automatically fit a model to the data:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> Automatic]

Fit a straight line to the data:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> "Linear"]

Fit a quadratic curve to the data:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> "Quadratic"]

Use LogModel to approximate the data:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> LogModel[]]

PlotFitElements  (3)

By default, the fitted model is shown with the data points:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> Automatic]

Plot confidence bands for the data, with a default confidence level of 0.95:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> Automatic, PlotFitElements -> "BandCurves"]

Use a confidence level of 0.5 for the bands:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> Automatic, PlotFitElements -> {"BandCurves", <|"ConfidenceLevel" -> 0.5|>}]

Show residual lines from the data points to the fitted curve:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> Automatic, PlotFitElements -> "Residuals"]

Combine the original points with red residual lines:

Wolfram Language code: ListLogPlot[ResourceData["Sample Tabular Data: Car Models"] -> {"weight", "mpg"}, PlotFit -> Automatic, PlotFitElements -> {"DataPoints", {"Residuals", <|"Style" -> StandardRed|>}}]

PlotHighlighting  (9)

Plots have interactive coordinate callouts with the default setting PlotHighlightingAutomatic:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}]

Use PlotHighlightingNone to disable the highlighting for the entire plot:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> None]

Use Highlighted[…,None] to disable highlighting for a single set:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], Highlighted[IconizedObject[«squares»], None]}]

Move the mouse over a set of points to highlight it using arbitrary graphics directives:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> Directive[Red, AbsolutePointSize[10], DropShadowing[]]]

Move the mouse over the points to highlight them with balls and labels:

Wolfram Language code: ListLogPlot[IconizedObject[«primes»], PlotHighlighting -> "Dropline"]
Wolfram Language code: ListLogPlot[Highlighted[IconizedObject[«primes»], Placed["Dropline", {{7}, {15}}]]]

Move the mouse over the curve to highlight it with a label and droplines to the axes:

Wolfram Language code: ListLogPlot[IconizedObject[«primes»], PlotHighlighting -> "Dropline"]

Use a ball and label to highlight a specific point in the plot:

Wolfram Language code: ListLogPlot[Highlighted[IconizedObject[«primes»], Placed["Dropline", 7]]]

Move the mouse over the plot to highlight it with a slice showing values corresponding to the position:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> "XSlice"]

Highlight a particular set of points at a fixed value:

Wolfram Language code: ListLogPlot[{Highlighted[IconizedObject[«primes»], Placed["XSlice", 17]], IconizedObject[«squares»]}]

Move the mouse over the plot to highlight it with a slice showing values corresponding to the position:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> "YSlice"]

Use a component that shows the points on the plot closest to the position of the mouse cursor:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> "XNearestPoint"]

Specify the style for the points:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> {"XNearestPoint", <|"Style" -> Red|>}]

Use a component that shows the coordinates on the points closest to the mouse cursor:

Wolfram Language code: ListLogPlot[{IconizedObject[«primes»], IconizedObject[«squares»]}, PlotHighlighting -> "XYLabel"]

Use Callout options to change the appearance of the label:

Wolfram Language code: ListLogPlot[IconizedObject[«primes»], PlotHighlighting -> {"XYLabel", <|"Appearance" -> "Corners", "CalloutMarker" -> "Circle"|>}]

Combine components to create a custom effect:

Wolfram Language code: ListLogPlot[IconizedObject[«primes»], PlotHighlighting -> {{"XNearestPoint", <|"Style" -> Red|>}, {"XYLabel", <|"Appearance" -> "Corners", "CalloutMarker" -> "Circle"|>}}]

PlotInteractivity  (3)

Plots have interactive highlighting by default:

Wolfram Language code: ListLogPlot[{2, 3, 5, 7, 11, 13, 17, 19, 23, 29}]

Turn off all the interactive elements:

Wolfram Language code: ListLogPlot[{2, 3, 5, 7, 11, 13, 17, 19, 23, 29}, PlotInteractivity -> False]

Allow provided interactive elements and disable automatic ones:

Wolfram Language code: ListLogPlot[{2, 3, 5, 7, 11, 13, 17, 19, 23, Tooltip[29, "hello"]}, PlotInteractivity -> <|"User" -> True, "System" -> False|>]

PlotLabel  (1)

Add an overall label to the plot:

Wolfram Language code: ListLogPlot[Prime[Range[100]], PlotLabel -> "prime numbers"]

PlotLabels  (6)

Specify text to label sets of points:

Wolfram Language code: ListLogPlot[{Exp[Range[0, 2Pi, 0.1]], Log[Range[0, 2Pi, 0.1]]}, PlotLabels -> {"exp", "log"}]

Use an Association form to specify labels:

Wolfram Language code: ListLogPlot[{Exp[Range[0, 2Pi, 0.1]], Log[Range[0, 2Pi, 0.1]]}, PlotLabels -> <|"Lists" -> {"sin", "cos"}|>]

Place the labels above the points:

Wolfram Language code: ListLogPlot[{Exp[Range[1, 2Pi, 0.1]], Log[Range[1.1, 2Pi, 0.1]]}, PlotLabels -> Placed[{"exp", "log"}, Above]]

Use callouts to identify the points:

Wolfram Language code: ListLogPlot[{Exp[Range[1, 2Pi, 0.1]], Log[Range[1.1, 2Pi, 0.1]]}, PlotLabels -> {Callout["exp", {45, Above}], Callout["log", {45, Below}]}]

Use the keys from an Association as labels:

Wolfram Language code: ListLogPlot[<|"exp" -> Exp[Range[0, 2Pi, 0.1]], "log" -> Log[Range[1.1, 2Pi, 0.1]]|>, PlotLabels -> Automatic, PlotLegends -> None]

Use None to not add a label:

Wolfram Language code: ListLogPlot[{Log[Range[0, 2Pi, 0.1]], Exp[Range[0, 2Pi, 0.1]]}, PlotLabels -> {"log", None}]

PlotLayout  (1)

By default, curves are overlaid on each other:

Wolfram Language code: data = {{10, 9, 4, 3, 5, 3, 5, 5, 2, 6}, {2, 10, 5, 6, 9, 4, 9, 3, 7, 2}, {7, 8, 3, 4, 4, 2, 6, 3, 8, 7}};
Wolfram Language code: ListLogPlot[data, Joined -> True]

Plot the data in a stacked layout:

Wolfram Language code: ListLogPlot[data, PlotLayout -> "Stacked", Joined -> True]

Plot the data as percentiles of the total of the values:

Wolfram Language code: ListLogPlot[data, PlotLayout -> "Percentile", Joined -> True]

Use rows instead of columns:

Wolfram Language code: ListLogPlot[data, PlotLayout -> "Row", Joined -> True, ImageSize -> Medium]

PlotLegends  (7)

Generate a legend using labels:

Wolfram Language code: ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotLegends -> {"one", "two"}]

Use an Association form to specify legends:

Wolfram Language code: ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotLegends -> <|"Lists" -> {"one", "two"}|>]

Generate a legend using placeholders:

Wolfram Language code: ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotLegends -> Automatic]

Legends use the same styles as the plot:

Wolfram Language code: ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotStyle -> {Red, Blue}, PlotLegends -> Automatic]

Use Placed to specify the legend placement:

Wolfram Language code: Table[ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotLabel -> pos, PlotLegends -> Placed[Automatic, pos]], {pos, {Above, Below, Before, After}}]

Place the legend inside the plot:

Wolfram Language code: ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotStyle -> {Red, Blue}, PlotLegends -> Placed[Automatic, {0.25, 0.75}]]

Use PointLegend to change the legend appearance:

Wolfram Language code: ListLogPlot[{2 ^ Range[0, 15], Range[0, 15]!}, PlotStyle -> {Red, Blue}, PlotLegends -> PointLegend[Automatic, LegendMarkerSize -> 10, LegendFunction -> Frame]]

PlotMarkers  (8)

ListLogPlot normally uses distinct colors to distinguish different sets of data:

Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> None]

Automatically use colors and shapes to distinguish sets of data:

Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> Automatic]

Use shapes only:

Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> Automatic, PlotStyle -> StandardBlue]

Change the size of the default plot markers:

Wolfram Language code: Table[ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 5}], PlotMarkers -> {Automatic, s}], {s, {Small, Medium}}]
Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 5}], PlotMarkers -> {Automatic, Large}]

Use arbitrary text for plot markers:

Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> {"1", "2", "3", "4"}]

Use explicit graphics for plot markers:

Wolfram Language code: {m1, m2, m3, m4} = Graphics /@ {Circle[{0, 0}, 1], Disk[{0, 0}, 1], Line[{{-0.5, -0.5}, {0.5, -0.5}, {0.5, 0.5}, {-0.5, 0.5}, {-0.5, -0.5}}], Polygon[{{-0.5, -0.5}, {0.5, -0.5}, {0.5, 0.5}, {-0.5, 0.5}}]}
Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> Table[{s, 0.07}, {s, {m1, m2, m3, m4}}]]

Use the same symbol for all the sets of data:

Wolfram Language code: ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> "●"]

Explicitly use a symbol and size:

Wolfram Language code: Table[ListLogPlot[Table[n ^ (1 / p), {p, 4}, {n, 10}], PlotMarkers -> {"●", s}], {s, {4, 8, 12}}]

PlotRange  (2)

PlotRange is automatically calculated:

Wolfram Language code: ListLogPlot[Table[i + 1000 KroneckerDelta[i - 5] + 100KroneckerDelta[i - 10], {i, 40}]]

Show the whole dataset:

Wolfram Language code: ListLogPlot[Table[i + 1000 KroneckerDelta[i - 5] + 100KroneckerDelta[i - 10], {i, 40}], PlotRange -> All]

PlotStyle  (8)

Use different style directives:

Wolfram Language code: Table[ListLogPlot[Table[Binomial[10, k], {k, 0, 10}], PlotStyle -> ps], {ps, {Red, PointSize[Large], Darker[Green], Directive[Red, PointSize[Large]]}}]

By default, different styles are chosen for multiple datasets:

Wolfram Language code: ListLogPlot[Table[Binomial[n, k], {n, {5, 10, 15}}, {k, 0, 15}]]

Explicitly specify the style for different datasets:

Wolfram Language code: ListLogPlot[Table[Binomial[n, k], {n, {5, 10, 15}}, {k, 0, 15}], PlotStyle -> {Red, Green, Blue}]

PlotStyle applies to both lines and points:

Wolfram Language code: ListLogPlot[{{1, 2, 3, 4, 5}, {4, 2, 7, 2, 4}}, Joined -> {True, False}, PlotStyle -> Red]
Wolfram Language code: ListLogPlot[{{1, 2, 3, 4, 5}, {4, 2, 7, 2, 4}}, Joined -> {True, False}, PlotStyle -> {Thick, PointSize[Large]}]

Use the association-based syntax to set a base style for all data:

Wolfram Language code: ListLogPlot[{IconizedObject[«p»], IconizedObject[«p^2»], IconizedObject[«p^3»]}, PlotStyle -> <|"Base" -> PointSize[Large]|>]

Use a different style for each of the datasets:

Wolfram Language code: ListLogPlot[{IconizedObject[«p»], IconizedObject[«p^2»], IconizedObject[«p^3»]}, PlotStyle -> <|"Lists" -> {StandardGreen, StandardRed, StandardBlue}|>]

Provide an overall base style as well as styles for each dataset:

Wolfram Language code: ListLogPlot[{IconizedObject[«p»], IconizedObject[«p^2»], IconizedObject[«p^3»]}, PlotStyle -> <|"Base" -> PointSize[Large], "Lists" -> {StandardGreen, StandardRed, StandardBlue}|>]

PlotStyle can be combined with ColorFunction and has lower priority:

Wolfram Language code: ListLogPlot[Table[Gamma[x], {x, 0, 5, 0.1}], Joined -> True, PlotStyle -> Thick, ColorFunction -> Function[{x, y}, Hue[y]]]

PlotStyle can be combined with MeshShading and has lower priority:

Wolfram Language code: ListLogPlot[Table[Gamma[x], {x, 0, 5, 0.1}], Joined -> True, PlotStyle -> Directive[Opacity[0.5], Thick], Mesh -> 10, MeshFunctions -> {#1&}, MeshShading -> {Red, Blue}]

MeshStyle by default uses the same style as PlotStyle:

Wolfram Language code: ListLogPlot[Table[Gamma[x], {x, 0, 5, 0.1}], PlotStyle -> Red, Mesh -> All, Joined -> True]

PlotTheme  (1)

Use a theme with simple ticks and plot markers in a bright color scheme:

Wolfram Language code: ListLogPlot[{Prime[Range[10]], Exp[Range[10]]}, PlotTheme -> "Business"]

Change the plot markers:

Wolfram Language code: ListLogPlot[{Prime[Range[10]], Exp[Range[10]]}, PlotTheme -> "Business", PlotMarkers -> {"A", "B"}]

ScalingFunctions  (2)

By default, the y axis has a log scale:

Wolfram Language code: ListLogPlot[Table[Abs[1 / x], {x, 1, 10, 0.2}]]

Reverse the direction of the y scale:

Wolfram Language code: ListLogPlot[Table[Abs[1 / x], {x, 1, 10, 0.2}], ScalingFunctions -> "Reverse"]

Reverse both sets of axes:

Wolfram Language code: ListLogPlot[Table[Abs[1 / x], {x, 1, 10, 0.2}], ScalingFunctions -> {"Reverse", "Reverse"}]

Applications  (2)

Generate a Collatz-like sequence:

Wolfram Language code: ListLogPlot[NestList[If[EvenQ[#], 5# / 2, (# + 1) / 2]&, 6, 100]]

Plot the spectrum of a sequence:

Wolfram Language code: data = Table[UnitStep[k - 10, 20 - k], {k, 0, 1000}];
Wolfram Language code: ListLogPlot[Abs[Fourier[data]]]

Properties & Relations  (11)

ListLogPlot is a special case of ListPlot:

Wolfram Language code: {ListLogPlot[Table[Binomial[9, k], {k, 0, 9}], Joined -> True], ListPlot[Table[Log[Binomial[9, k]], {k, 0, 9}], Joined -> True]}

Use LogPlot for functions:

Wolfram Language code: {LogPlot[Gamma[x], {x, 0, 5}], ListLogPlot[Table[{x, Gamma[x]}, {x, 0, 5, 0.1}], Joined -> True]}

Use ListLogLogPlot and ListLogLinearPlot for logarithmic plots in the direction:

Wolfram Language code: ListLogPlot[Table[Binomial[25, k], {k, 0, 25}], Joined -> True]

Use ListPlot and ListLinePlot for unscaled plots:

Wolfram Language code: ListLinePlot[Table[{x, Gamma[x]}, {x, 1, 5, 0.1}]]

Use ListPolarPlot for polar plots:

Wolfram Language code: ListPolarPlot[Table[{x, Sqrt[x]}, {x, 0, 2Pi, 0.1}]]

Use DateListPlot to show data over time:

Wolfram Language code: DateListPlot[{5, 11, 13, 24, 28, 31, 34, 39, 42, 47, 51, 66}, {2006, 1}, PlotStyle -> PointSize[Medium]]

Use ListPointPlot3D to show three-dimensional points:

Wolfram Language code: ListPointPlot3D[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]

Use ListPlot3D to create surfaces from data:

Wolfram Language code: ListPlot3D[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]

Use ListContourPlot to create contours from continuous data:

Wolfram Language code: ListContourPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]

Use ListDensityPlot to create densities from continuous data:

Wolfram Language code: ListDensityPlot[Table[Sin[j ^ 2 + i], {i, 0, Pi, 0.1}, {j, 0, Pi, 0.1}]]

Use ArrayPlot and MatrixPlot for arrays of discrete values:

Wolfram Language code: ArrayPlot[Table[GCD[i, j], {i, 1, 20}, {j, 1, 20}]]
Wolfram Language code: MatrixPlot[Import[ "ExampleData/bcsstk08.mtx.gz"]]

See Also

LogPlot  ListPlot  ListLogLinearPlot  ListLogLogPlot  DateListLogPlot

Tech Notes

    ▪
  • Some Special Plots

Related Guides

    ▪
  • Data Visualization
  • ▪
  • Scientific Data Analysis
  • ▪
  • GPU Computing
  • ▪
  • Numbers with Uncertainty
  • ▪
  • Date & Time Visualization
  • ▪
  • GPU Computing with NVIDIA
  • ▪
  • GPU Computing with Apple

Related Links

  • An Elementary Introduction to the Wolfram Language : More about Numbers

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) ▪ 2025 (14.3) ▪ 2026 (15.0)

Wolfram Research (2007), ListLogPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ListLogPlot.html (updated 2026).

Text

Wolfram Research (2007), ListLogPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/ListLogPlot.html (updated 2026).

CMS

Wolfram Language. 2007. "ListLogPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2026. https://reference.wolfram.com/language/ref/ListLogPlot.html.

APA

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

BibTeX

@misc{reference.wolfram_2026_listlogplot, author="Wolfram Research", title="{ListLogPlot}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/ListLogPlot.html}", note=[Accessed: 01-September-2026]}

BibLaTeX

@online{reference.wolfram_2026_listlogplot, organization={Wolfram Research}, title={ListLogPlot}, year={2026}, url={https://reference.wolfram.com/language/ref/ListLogPlot.html}, note=[Accessed: 01-September-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • AI Access
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English