LogLinearPlot [f,{x,xmin,xmax}]
generates a log-linear plot of f as a function of x from xmin to xmax.
LogLinearPlot [{f1,f2,…},{x,xmin,xmax}]
plots several functions fi.
LogLinearPlot [{…,w[fi],…},…]
plots fi with features defined by the symbolic wrapper w.
LogLinearPlot […,{x}∈reg]
takes the variable x to be in the geometric region reg.
LogLinearPlot
LogLinearPlot [f,{x,xmin,xmax}]
generates a log-linear plot of f as a function of x from xmin to xmax.
LogLinearPlot [{f1,f2,…},{x,xmin,xmax}]
plots several functions fi.
LogLinearPlot [{…,w[fi],…},…]
plots fi with features defined by the symbolic wrapper w.
LogLinearPlot […,{x}∈reg]
takes the variable x to be in the geometric region reg.
Details and Options
- LogLinearPlot is also known as semi-logarithmic or semi-log plot, since it has one logarithmic axis and one linear axis.
- LogLinearPlot makes logarithmic functions appear as straight lines. It allows very large domains to be covered in a plot.
- LogLinearPlot effectively generates a curve in which f is plotted against Log [x], but with tick marks indicating the original values of x. It visualizes the set .
- Gaps are left at any x where the fi evaluate to anything other than real numbers or
Quantity . - The limits xmin and xmax can be real numbers or Quantity expressions.
- The region reg can be any RegionQ object in 1D.
- LogLinearPlot treats the variable x as local, effectively using Block .
- LogLinearPlot has attribute HoldAll and evaluates f only after assigning specific numerical values to x.
- In some cases, it may be more efficient to use Evaluate to evaluate f symbolically before specific numerical values are assigned to x.
- The following wrappers w can be used for the fi:
-
- Wrappers w can be applied at multiple levels:
-
w[fi] wrap the fiw[{f1,…}] wrap a collection of fiw1[w2[…]] use nested wrappers
- Callout , Labeled , and Placed can use the following positions pos:
-
Automatic automatically placed labelsx near the curve at a position x{pos,epos} epos in label placed at relative position pos of the curve
- LogLinearPlot has the same options as Graphics , with the following additions and changes: [List of all options]
-
- Possible settings for ClippingStyle are:
-
Automatic use a dotted line for the clipped portionNone omit the clipped portion of the curvestyle use style for the clipped portion
- 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
- With the default settings Exclusions->Automatic and ExclusionsStyle->None , LogLinearPlot breaks curves at discontinuities and singularities it detects. Exclusions->None joins across discontinuities and singularities.
- Exclusions->{x1,x2,…} is equivalent to Exclusions->{x==x1,x==x2,…}.
- PlotLegends->"Expressions" uses the fi as the legend text.
- ColorData ["DefaultPlotColors"] gives the default sequence of colors used by PlotStyle .
- LogLinearPlot initially evaluates f at a number of equally spaced sample points specified by PlotPoints . Then it uses an adaptive algorithm to choose additional sample points, subdividing a given interval at most MaxRecursion times.
- Since only a finite number of sample points are used, it is possible for LogLinearPlot to miss features of f. Increasing the settings for PlotPoints and MaxRecursion will often catch such features.
- Themes that affect curves include:
-
"ThinLines" thin plot lines"MediumLines" medium plot lines"ThickLines" thick plot lines
- The arguments supplied to functions in MeshFunctions and RegionFunction are x, y. Functions in ColorFunction are by default supplied with scaled versions of these arguments.
- Possible highlighting effects for Highlighted and PlotHighlighting include:
-
style highlight the indicated curve"Ball" highlight and label the indicated point in a curve"Dropline" highlight and label the indicated point in a curve 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 the y axis{sx,sy} scale x and y axes
- Common built-in scaling functions s include:
-
"Log" log scale with automatic tick labeling"Log10" base-10 log scale with powers of 10 for ticks"SignedLog" log-like scale that includes 0 and negative numbers"Reverse" reverse the coordinate direction"Infinite" infinite scale
- If a scaling function is specified for the x direction, it is applied after the normal log scaling.
- Highlight options with settings specific to LogLinearPlot
-
ImageMargins 0. the margins to leave around the graphicPreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic
List of all options
Examples
open all close allBasic Examples (4)
Make a plot with a logarithmic x scale:
Plot several functions with a legend:
Label each curve:
Fill below a curve:
Scope (30)
Sampling (7)
More points are sampled when the function changes quickly:
The plot range is selected automatically:
Ranges where the function becomes nonreal are excluded:
The curve is split when there are discontinuities in the function:
Use PlotPoints and MaxRecursion to control adaptive sampling:
Use PlotRange to explore areas of interest:
Use Exclusions to remove points or split the resulting curve:
Labeling and Legending (11)
Label curves with Labeled :
Place the labels relative to the curves:
Label curves with PlotLabels :
Place the label near the curve at an value:
Use a scaled position:
Specify the text position relative to the point:
Label curves automatically with Callout :
Place a label with specific locations:
Include legends for each curve:
Use Legended to provide a legend for a specific curve:
Use Placed to change the legend location:
Curves 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 (12)
Multiple curves are automatically colored to be distinct:
Provide explicit styling to different curves:
Add labels:
Create legends from the functions:
Specify labels for legends:
Provide an interactive Tooltip for each curve:
Create filled plots:
Create an overlay mesh:
Style the curve segments between mesh points:
Use a theme with dark background in a high-contrast color scheme:
Show multiple curves in a row of separate panels:
Use a column instead of a row:
Use multiple rows or columns:
Use ScalingFunctions to reverse the x axis:
Scale both x and y axes:
Options (95)
ClippingStyle (5)
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:
ColorFunction (3)
Color by scaled and coordinates:
Color a curve red when its absolute coordinate is above 0:
Fill with the color used for the curve:
ColorFunctionScaling (1)
No argument scaling on the left, and automatic scaling on the right:
EvaluationMonitor (3)
Exclusions (2)
Use automatic methods for computing exclusions, in this case for a piecewise function:
Indicate that no exclusions should be computed:
ExclusionsStyle (2)
Use dashed lines to indicate the vertical asymptotes:
Use blue points to highlight the exclusions:
Filling (7)
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 1 is above 2:
Fill between curves 1 and with yellow:
FillingStyle (4)
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 :
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:
MaxRecursion (2)
The default sampling mesh:
Each level of MaxRecursion will subdivide the initial mesh into a finer mesh:
Mesh (3)
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:
MeshFunctions (4)
Use a mesh evenly spaced in the and directions:
Mesh functions use the unscaled values in the direction:
Use Log to scale the mesh functions:
Show 5 mesh levels in the direction (red) and 10 in the direction (blue):
MeshShading (6)
Alternate red and blue segments of equal width in the direction:
Use None to remove segments:
MeshShading can be used with PlotStyle :
MeshShading has higher priority than PlotStyle for styling the curve:
Use PlotStyle for some segments by setting MeshShading to Automatic :
MeshShading can be used with ColorFunction :
MeshStyle (4)
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:
PerformanceGoal (2)
Generate a higher-quality plot:
Emphasize performance, possibly at the cost of quality:
PlotHighlighting (8)
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 curve:
Move the mouse over the curve to highlight it with a ball and label:
Use a ball and label to highlight a specific point on the curve:
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 on the curve:
Move the mouse over the plot to highlight it with a slice showing values corresponding to the position:
Highlight the curves 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 curve closest to the position of the mouse cursor:
Specify the style for the points:
Use a component that shows the coordinates on the curve closest to the mouse cursor:
Use Callout options to change the appearance of the label:
Combine components to create a custom effect:
PlotInteractivity (4)
Plots have interactive highlighting by default:
Turn off all the interactive elements:
Interactive elements provided as part of the input are disabled:
Allow provided interactive elements and disable automatic ones:
PlotLabel (1)
Add an overall label to the plot:
PlotLabels (5)
Specify text to label curves:
Place the labels above the curves:
Place the labels differently for each curve:
PlotLabels->"Expressions" uses functions as curve labels:
Use callouts to identify the curves:
Use None to not add a label:
PlotLayout (2)
Place each curve in a separate panel using shared axes:
Use a row instead of a column:
Use multiple columns or rows:
Prefer full columns or rows:
PlotLegends (6)
No legends are used by default:
Create a legend based on the functions:
Create a legend with placeholder text:
PlotLegends picks up PlotStyle values automatically:
Use Placed to position legends:
Place legends inside:
Use LineLegend to modify the appearance of the legend:
PlotPoints (1)
Use more initial points to get a smoother curve:
PlotRange (2)
Show the curve over the whole domain:
Show the curve only where it is real-valued:
PlotStyle (6)
Use different style directives:
By default, different styles are chosen for multiple curves:
Explicitly specify the style for different curves:
PlotStyle can be combined with ColorFunction :
PlotStyle can be combined with MeshShading :
PlotTheme (1)
Use a theme with grid lines and simple ticks:
Add another theme with legends:
Change the plot style:
RegionFunction (2)
Show the curve where :
Exclude the region where :
ScalingFunctions (5)
By default LogLinearPlot uses a Log scale on the x axis and natural scale for y:
Use a shifted log scale to show a function with negative values:
Use ScalingFunctions to reverse the coordinate direction in the y direction:
Use infinite scale for functions whose range is infinite :
Use a scale defined by a function and its inverse:
Applications (1)
The A-weighting curve used for measuring perceived loudness of sound:
Properties & Relations (4)
LogLinearPlot samples more points where it needs to:
LogLinearPlot is a special case of Plot for curves:
Use LogPlot and LogLogPlot for logarithmic plots in the direction:
Use ListLogLinearPlot for data:
See Also
Tech Notes
Related Guides
History
Introduced in 2007 (6.0) | Updated in 2012 (9.0) ▪ 2014 (10.0) ▪ 2016 (10.4) ▪ 2016 (11.0) ▪ 2018 (11.3) ▪ 2021 (13.0) ▪ 2022 (13.1) ▪ 2023 (13.3) ▪ 2025 (14.3)
Text
Wolfram Research (2007), LogLinearPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/LogLinearPlot.html (updated 2025).
CMS
Wolfram Language. 2007. "LogLinearPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/LogLinearPlot.html.
APA
Wolfram Language. (2007). LogLinearPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LogLinearPlot.html
BibTeX
@misc{reference.wolfram_2025_loglinearplot, author="Wolfram Research", title="{LogLinearPlot}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/LogLinearPlot.html}", note=[Accessed: 23-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_loglinearplot, organization={Wolfram Research}, title={LogLinearPlot}, year={2025}, url={https://reference.wolfram.com/language/ref/LogLinearPlot.html}, note=[Accessed: 23-November-2025]}