Logarithmic scale Created 2026-10-14 Updated 2026-10-18
A logarithmic scale places a positive quantity according to a logarithm, so equal ratios occupy equal distances. For example, are equally spaced under the natural logarithm because every successive difference is . An ordinary linear scale instead gives equal distances to equal differences: .
For a base and a positive reference , define the axis positionThe reference has the same units as , making a dimensionless quantity. The distance between two positions isMultiplying both values by the same positive factor preserves that distance. Replacing by translates every position by ; changing the base rescales positions through . Neither change alters which ratios receive equal gaps.
In base ten, the values occupy positions when . The differences between neighboring values grow from nine to ninety to nine hundred, but every step spans one order of magnitude. The values occupy positions : the same spacing shifted by . This lets one plot small and large positive quantities together while keeping equal proportional changes equally visible.
A logarithmic scale is a rule for position, not an instruction to relabel the tick marks with their logarithms. A mark labelled still means the original value one hundred. Ordinary real logarithms exclude zero and negative inputs. Omitting such values or clipping them to a plotting boundary does not give them genuine logarithmic positions; the plotting choice needs to be clear.[ref]
Log scale. Matplotlib 3.10.7 documentation; Matplotlib 3.10.7, Log scale: Logarithms with other bases and Dealing with negative values
Semi-log plot 2026-10-18
A semi-log plot uses a logarithmic scale on one axis and a linear scale on the other. Which axis is logarithmic matters. Plotting against makes positive exponential functions appear as straight lines; plotting against instead makes an affine function of a logarithm appear straight. The plotting operations change positions while retaining the original tick values.[ref]
Log scale. Matplotlib 3.10.7 documentation; Matplotlib 3.10.7, Log scale: Convenience functions semilogx, semilogy, and loglog; distinction between horizontal and vertical logarithmic axes
Take the original dimensionless mathematical model for . It has exponential growth, with , , and . Taking a base-ten logarithm givesThe slope in these transformed positions is , although the original relative growth rate is . Equal steps of two in multiply by . The corresponding ordinary gains increase, so the left plot bends while the right plot is straight.
The same exponential growth model bends on a linear scale and is straight on a semi-log plot with a logarithmic vertical axis
. Original exact mathematical model , not measurements. Both panels show identical values at the same . Right-hand tick labels retain the original values, with equal gaps for each doubling. The stated slope is for , not the original derivative . Details.One practical use is checking a proposed exponential distribution for failure times. For rate and , its cumulative distribution function is , so the reciprocal survival function satisfies . Estimated probabilities can therefore be placed on a logarithmic vertical axis and compared with a straight line. Agreement supports compatibility with the chosen statistical model; a roughly straight finite sample does not establish a unique physical mechanism.[ref]
8.2.2.1. Probability plotting. NIST and SEMATECH e-Handbook of Statistical Methods, §8.2.2.1 Probability plotting: Exponential Model, logarithmic vertical-axis transformation and interpretation of approximate straightness
