matplotlib 3.5.1

ParametersReturnsBackRef
semilogx(*args, **kwargs)

Call signatures:

semilogx([x], y, [fmt], data=None, **kwargs)
semilogx([x], y, [fmt], [x2], y2, [fmt2], ..., **kwargs)

This is just a thin wrapper around :None:None:`.plot` which additionally changes the x-axis to log scaling. All of the concepts and parameters of plot can be used here as well.

The additional parameters base, subs, and nonpositive control the x-axis properties. They are just forwarded to :None:None:`.Axes.set_xscale`.

Parameters

base : float, default: 10

Base of the x logarithm.

subs : array-like, optional

The location of the minor xticks. If None, reasonable locations are automatically chosen depending on the number of decades in the plot. See :None:None:`.Axes.set_xscale` for details.

nonpositive : {'mask', 'clip'}, default: 'mask'

Non-positive values in x can be masked as invalid, or clipped to a very small positive number.

**kwargs :

All parameters supported by :None:None:`.plot`.

Returns

list of `.Line2D`

Objects representing the plotted data.

Make a plot with log scaling on the x axis.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.signal._ltisys.lti.bode scipy.signal._ltisys.dlti.bode scipy.signal._filter_design.freqs scipy.signal._filter_design.ellip scipy.signal._filter_design.lp2bs scipy.signal._filter_design.lp2bp scipy.signal._filter_design.butter scipy.signal._ltisys.bode scipy.signal._filter_design.freqs_zpk scipy.signal._filter_design.cheby1 scipy.signal._filter_design.bessel scipy.signal._filter_design.bilinear matplotlib.pyplot.plotting scipy.signal._filter_design.lp2hp scipy.signal._filter_design.ellipord scipy.signal._filter_design.lp2lp scipy.signal._filter_design.cheby2 scipy.signal._filter_design.cheb1ord scipy.signal._filter_design.buttord scipy.signal._filter_design.bilinear_zpk scipy.signal._filter_design.cheb2ord scipy.signal._ltisys.dbode

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/pyplot.py#2817
type: <class 'function'>
Commit: