A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://matplotlib.org/devdocs/devel/../api/_as_gen/matplotlib.pyplot.semilogx.html below:

matplotlib.pyplot.semilogx — Matplotlib 3.11.0.dev1077+g30f4ece3f5 documentation

matplotlib.pyplot.semilogx#
matplotlib.pyplot.semilogx(*args, **kwargs)[source]#

Make a plot with log scaling on the x-axis.

Call signatures:

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

This is just a thin wrapper around plot which additionally changes the x-axis to log scaling. All 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 Axes.set_xscale.

Parameters:
basefloat, default: 10

Base of the x logarithm.

subsarray-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 Axes.set_xscale for details.

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

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

**kwargs

All parameters supported by plot.

Returns:
list of Line2D

Objects representing the plotted data.

Notes


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4