This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ListLogPlot

ListLogPlot
makes a log plot of the , assumed to correspond to x coordinates 1, 2, ....
ListLogPlot
makes a log plot of the specified list of x and y values.
ListLogPlot
plots several lists of values.
  • ListLogPlot[list] by default plots each value as a separate point.
  • ListLogPlot effectively plots {xi, Log[yi]} but with tick marks indicating the underlying values .
  • ListLogPlot makes exponentials appear as straight lines.
Plot a list of values with logarithmic scaling:
Join the points with a line:
Plot a list of , pairs using logarithmic scaling of :
Plot multiple sets of data:
Generate filled plots:
Plot a list of values with logarithmic scaling:
In[1]:=
Click for copyable input
Out[1]=
Join the points with a line:
In[2]:=
Click for copyable input
Out[2]=
 
Plot a list of , pairs using logarithmic scaling of :
In[1]:=
Click for copyable input
Out[1]=
 
Plot multiple sets of data:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Generate filled plots:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
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:
Multiple datasets are automatically colored to be distinct:
Provide explicit styling to different sets:
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:
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 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:
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:
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:
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:
Fill with blue "stems":
Fill with dashed magenta "stems":
Fill with red below , and blue above:
Filling for Joined cases is solid:
Joined lines can be interpolated:
By default, linear interpolation is used:
Use zero-order or piecewise-constant interpolation:
Use third-order spline interpolation:
Interpolation order zero to 5:
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:
All points are included by default:
Uniformly spaced data is downsampled:
Nonuniform data is topologically subsampled to preserve features:
Mesh only applies to Joined datasets:
The initial and final sampling meshes are typically the same:
Interpolated data may introduce points:
Use 20 mesh levels evenly spaced in the direction:
Use an explicit list of values for the mesh in the direction:
Use explicit styles at specific points:
MeshFunctions only applies to Joined datasets:
Use a mesh evenly spaced in the direction and unscaled in the direction:
Use a mesh logarithmically spaced in the direction:
Show five mesh levels in the direction (red) and 10 in the direction (blue):
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 only applies to Joined datasets:
Color the mesh the same color as the plot:
Use a red mesh in the direction:
Use a red mesh in the direction and a blue mesh in the direction:
Use big red mesh points in the direction:
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 is automatically calculated:
Show the whole dataset:
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:
MeshStyle by default uses the same style as PlotStyle:
Generate a Collatz-like sequence:
Plot the spectrum of a sequence:
ListLogPlot is a special case of ListPlot:
Use LogPlot for functions:
Use ListLogLogPlot and ListLogLinearPlot for logarithmic plots in the direction:
Use ListPlot and ListLinePlot for unscaled plots:
Use ListPolarPlot for polar plots:
Use DateListPlot to show data over time:
Use ListPointPlot3D to show three-dimensional points:
Use ListPlot3D to create surfaces from data:
Use ListContourPlot to create contours from continuous data:
Use ListDensityPlot to create densities from continuous data:
Use ArrayPlot and MatrixPlot for arrays of discrete values:
New in 6