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


generates a log-log plot of f as function of x from to .
generates log-log plots of several functions .
  • LogLogPlot effectively generates a curve in which Log[f] is plotted against Log[x], but with tick marks indicating the original values of f and x.
  • LogLogPlot makes power law functions appear as straight lines.
Powers show up as straight lines on a log-log plot:
Plot several functions:
Fill between curves:
Powers show up as straight lines on a log-log plot:
Click for copyable input
Plot several functions:
Click for copyable input
Fill between curves:
Click for copyable input
More points are sampled when the function changes quickly:
The plot range is selected automatically:
Ranges where the function becomes negative are excluded:
The curve is split when there are discontinuities in the function:
Use PlotPoints and MaxRecursion to control adaptive sampling:
Use PlotRange to focus in on areas of interest:
Use Exclusions to remove points or split the resulting curve:
Multiple curves are automatically colored to be distinct:
Provide explicit styling to different curves:
Add labels:
Provide an interactive Tooltip for each curve:
Create filled plots:
Create an overlay mesh:
Style the curve segments between mesh points:
Omit clipped regions of the plot:
Show the clipped regions like the rest of the curve:
Show clipped regions with red lines:
Show clipped regions as thick at the bottom and red at the top:
Show clipped regions as red and thick:
Color by scaled coordinate and scaled coordinate, respectively:
Color a curve red when its absolute coordinate is above 1:
Fill with the color used for the curve:
Use a color function that is red at powers of 10:
No argument scaling on the left, 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:
Find the list of values sampled by LogLogPlot:
Show where LogLogPlot evaluates the function:
Count how many times the function is evaluated:
Use automatic methods for computing exclusions, in this case for a piecewise function:
Indicate that no exclusions should be computed:
Use dashed lines to indicate the vertical asymptotes:
Use blue points to highlight the exclusions:
Use symbolic or explicit values:
Overlapping fills by default combine using opacity:
Fill between curve 1 and the axis:
Fill between curves 1 and 2:
Fill between curves 1 and 2 with a specific style:
Fill between curves 1 and 2; use yellow when 1 is below 2, and green when 2 is above 1:
Fill between curves 1 and with yellow:
Use different fill colors:
Fill with opacity 0.5 yellow:
Fill with red below and blue above:
Use a variable filling style obtained from a ColorFunction:
The default sampling mesh:
Each level of MaxRecursion will subdivide the initial mesh into a finer mesh:
Show the initial and final sampling meshes:
Use 20 mesh levels evenly spaced in the unscaled direction:
Use an explicit list of values for the mesh in the direction:
Use a mesh evenly spaced in the and directions:
Mesh functions use the unscaled values in the and directions:
Use Log to scale the mesh functions:
Show 5 mesh levels in the direction (red) and 10 in the direction (blue):
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:
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:
Generate a higher-quality plot:
Emphasize performance, possibly at the cost of quality:
Use more initial points to get a smoother curve:
Show the curve over the whole domain:
Show the curve only where it is positive:
Use different style directives:
By default different styles are chosen for multiple curves:
Explicitly specify the style for different curves:
PlotStyle can be combined with ColorFunction:
PlotStyle can be combined with MeshShading:
MeshStyle by default uses the same style as PlotStyle:
Show the curve where :
Exclude the region where :
LogLogPlot samples more points where it needs to:
LogLogPlot is a special case of Plot for curves:
Use LogPlot and LogLinearPlot for logarithmic plots in the other directions:
Use ListLogPlot for data:
New in 6