🌐
NumPy
numpy.org › doc › stable › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v2.5 Manual
>>> import matplotlib.pyplot as plt >>> N = 10 >>> x1 = np.logspace(0.1, 1, N, endpoint=True) >>> x2 = np.logspace(0.1, 1, N, endpoint=False) >>> y = np.zeros(N) >>> plt.plot(x1, y, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.plot(x2, y + 0.5, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.ylim([-0.5, 1]) (-0.5, 1) >>> plt.show()
🌐
GeeksforGeeks
geeksforgeeks.org › python › numpy-logspace-python
numpy.logspace() in Python - GeeksforGeeks
February 14, 2026 - The numpy.logspace() function is used to generate numbers that are evenly spaced on a logarithmic scale.
🌐
NumPy
numpy.org › devdocs › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v2.6.dev0 Manual
>>> import matplotlib.pyplot as plt >>> N = 10 >>> x1 = np.logspace(0.1, 1, N, endpoint=True) >>> x2 = np.logspace(0.1, 1, N, endpoint=False) >>> y = np.zeros(N) >>> plt.plot(x1, y, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.plot(x2, y + 0.5, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.ylim([-0.5, 1]) (-0.5, 1) >>> plt.show()
🌐
Programiz
programiz.com › python-programming › numpy › methods › logspace
NumPy logspace() | Programiz
August 30, 2023 - The logspace() method creates an array with evenly spaced numbers on a log scale.
🌐
NumPy
numpy.org › doc › 2.1 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v2.1 Manual
>>> import matplotlib.pyplot as plt >>> N = 10 >>> x1 = np.logspace(0.1, 1, N, endpoint=True) >>> x2 = np.logspace(0.1, 1, N, endpoint=False) >>> y = np.zeros(N) >>> plt.plot(x1, y, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.plot(x2, y + 0.5, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.ylim([-0.5, 1]) (-0.5, 1) >>> plt.show()
🌐
w3resource
w3resource.com › numpy › array-creation › logspace.php
NumPy: numpy.logspace() function - w3resource
April 22, 2026 - The numpy.logspace() function returns an array with numbers that are evenly spaced on a logarithmic scale.
🌐
NumPy
numpy.org › doc › 2.0 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v2.0 Manual
>>> import matplotlib.pyplot as plt >>> N = 10 >>> x1 = np.logspace(0.1, 1, N, endpoint=True) >>> x2 = np.logspace(0.1, 1, N, endpoint=False) >>> y = np.zeros(N) >>> plt.plot(x1, y, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.plot(x2, y + 0.5, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.ylim([-0.5, 1]) (-0.5, 1) >>> plt.show()
🌐
NumPy
numpy.org › doc › 2.3 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v2.3 Manual
>>> import matplotlib.pyplot as plt >>> N = 10 >>> x1 = np.logspace(0.1, 1, N, endpoint=True) >>> x2 = np.logspace(0.1, 1, N, endpoint=False) >>> y = np.zeros(N) >>> plt.plot(x1, y, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.plot(x2, y + 0.5, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.ylim([-0.5, 1]) (-0.5, 1) >>> plt.show()
🌐
NumPy
numpy.org › doc › 1.20 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v1.20 Manual
numpy.logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None, axis=0)[source]¶
Find elsewhere
🌐
NumPy
numpy.org › doc › 1.23 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v1.23 Manual
numpy.logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None, axis=0)[source]#
🌐
Medium
medium.com › @amit25173 › numpy-logspace-with-examples-87aed47b4728
numpy.logspace with Examples. If you think you need to spend $2,000… | by Amit Yadav | Medium
February 9, 2025 - You might be wondering: when should you use logspace versus linspace? Here’s the key difference: numpy.logspace generates values logarithmically spaced, meaning the intervals between numbers grow (or shrink) exponentially.
🌐
Python Pool
pythonpool.com › home › numpy › numpy logspace(): logarithmic samples and bases
How to Start Using Numpy logspace() Method in Python
July 13, 2026 - logspace spaces samples evenly in exponent space, so the returned values grow multiplicatively rather than by a constant arithmetic step. numpy.logspace() creates numbers that are evenly spaced on a logarithmic scale.
🌐
SciPy
docs.scipy.org › doc › › numpy-1.9.0 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v1.9 Manual
numpy.logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None)[source]¶ · Return numbers spaced evenly on a log scale. In linear space, the sequence starts at base ** start (base to the power of start) and ends with base ** stop (see endpoint below).
🌐
NumPy
numpy.org › doc › 1.24 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v1.24 Manual
>>> import matplotlib.pyplot as plt >>> N = 10 >>> x1 = np.logspace(0.1, 1, N, endpoint=True) >>> x2 = np.logspace(0.1, 1, N, endpoint=False) >>> y = np.zeros(N) >>> plt.plot(x1, y, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.plot(x2, y + 0.5, 'o') [<matplotlib.lines.Line2D object at 0x...>] >>> plt.ylim([-0.5, 1]) (-0.5, 1) >>> plt.show()
🌐
SciPy
docs.scipy.org › doc › numpy-1.15.0 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v1.15 Manual
numpy.logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None)[source]¶ · Return numbers spaced evenly on a log scale. In linear space, the sequence starts at base ** start (base to the power of start) and ends with base ** stop (see endpoint below).
🌐
Vultr Docs
docs.vultr.com › python › third party › numpy › logspace()
Python Numpy logspace() - Generate Logarithmic Spaced Array | Vultr Docs
November 14, 2024 - The numpy.logspace() function is a powerful tool from the NumPy library that allows for the creation of arrays with logarithmically spaced values between a specified start point and an end point.
🌐
CASRAI
casrai.org › guides › research tools & software › statistical software for research › numpy logspace: syntax, parameters and examples
NumPy logspace: Syntax, Parameters, Examples — CASRAI
2 weeks ago - numpy.logspace returns numbers spaced evenly on a log scale. The detail that trips most people up is that start and stop are exponents, not endpoints: np.logspace(0, 3, 4) gives 1, 10, 100, 1000 because the function computes 10**0 to 10**3.
🌐
Tutorial Gateway
tutorialgateway.org › python-numpy-logspace
Python NumPy logspace
August 11, 2026 - numpy.logspace(start, stop, num = 50, endpoint = True, base = 10.0, dtype=None, axis = 0)
🌐
SciPy
docs.scipy.org › doc › › numpy-1.6.0 › reference › generated › numpy.logspace.html
numpy.logspace — NumPy v1.6 Manual (DRAFT)
numpy.logspace(start, stop, num=50, endpoint=True, base=10.0)¶ · Return numbers spaced evenly on a log scale. In linear space, the sequence starts at base ** start (base to the power of start) and ends with base ** stop (see endpoint below). See also · arange ·
🌐
TutorialsPoint
tutorialspoint.com › numpy › numpy_logspace_function.htm
Numpy logspace() Function
The numpy.logspace() function allows us to generate a NumPy array of values evenly spaced on a logarithmic scale.