

Inscience andengineering, asemi-log plot/graph orsemi-logarithmicplot/graph has one axis on alogarithmic scale, the other on alinear scale. It is useful for data withexponential relationships, where onevariable covers a large range of values.[1]
All equations of the form form straight lines when plotted semi-logarithmically, since taking logs of both sides gives
This is a line with slope and vertical intercept. The logarithmic scale is usually labeled in base 10; occasionally in base 2:
Alog–linear (sometimes log–lin) plot has the logarithmic scale on they-axis, and alinear scale on thex-axis; alinear–log (sometimes lin–log) is the opposite. The naming isoutput–input (y–x), the opposite order from (x,y).
On a semi-log plot the spacing of the scale on they-axis (orx-axis) is proportional to the logarithm of the number, not the number itself. It is equivalent to converting they values (orx values) to their log, and plotting the data on linear scales. Alog–log plot uses the logarithmic scale for both axes, and hence is not a semi-log plot.
The equation of a line on a linear–log plot, where theabscissa axis is scaled logarithmically (with a logarithmic base ofn), would be
The equation for a line on a log–linear plot, with anordinate axis logarithmically scaled (with a logarithmic base ofn), would be:
On a linear–log plot, pick somefixed point (x0,F0), whereF0 is shorthand forF(x0), somewhere on the straight line in the above graph, and further some otherarbitrary point (x1,F1) on the same graph. The slope formula of the plot is:
which leads to
or
which means that
In other words,F is proportional to the logarithm ofx times the slope of the straight line of its lin–log graph, plus a constant. Specifically, a straight line on a lin–log plot containing points (F0, x0) and (F1, x1) will have the function:
On a log–linear plot (logarithmic scale on the y-axis), pick somefixed point (x0,F0), whereF0 is shorthand forF(x0), somewhere on the straight line in the above graph, and further some otherarbitrary point (x1,F1) on the same graph. The slope formula of the plot is:
which leads to
Notice thatnlogn(F1) =F1. Therefore, the logs can be inverted to find:
or
This can be generalized for any point, instead of justF1:
Inphysics andchemistry, a plot of logarithm of pressure against temperature can be used to illustrate the variousphases of a substance, as in the following forwater:

While ten is the most commonbase, there are times when other bases are more appropriate, as in this example:[further explanation needed]

Notice that while the horizontal (time) axis is linear, with the dates evenly spaced, the vertical (cases) axis is logarithmic, with the evenly spaced divisions being labelled with successive powers of two. The semi-log plot makes it easier to see when the infection has stopped spreading at its maximum rate, i.e. the straight line on this exponential plot, and starts to curve to indicate a slower rate. This might indicate that some form of mitigation action is working, e.g. social distancing.
Inbiology andbiological engineering, the change in numbers ofmicrobes due toasexual reproduction and nutrient exhaustion is commonly illustrated by a semi-log plot. Time is usually the independent axis, with the logarithm of the number or mass ofbacteria or other microbe as the dependent variable. This forms a plot with four distinct phases, as shown below.
