matplotlib 3.5.1

To remove in the future –– matplotlib.mlab

Numerical Python functions written for compatibility with MATLAB commands with the same names. Most numerical Python functions can be found in the :None:None:`NumPy` and :None:None:`SciPy` libraries. What remains here is code for performing spectral computations and kernel density estimations.

            <Unimplemented 'target' '.. _NumPy: https://numpy.org'>
           
            <Unimplemented 'target' '.. _SciPy: https://www.scipy.org'>
           

Spectral functions

:None:None:`cohere`

Coherence (normalized cross spectral density)

:None:None:`csd`

Cross spectral density using Welch's average periodogram

detrend

Remove the mean or best fit line from an array

:None:None:`psd`

Power spectral density using Welch's average periodogram

:None:None:`specgram`

Spectrogram (spectrum over segments of time)

:None:None:`complex_spectrum`

Return the complex-valued frequency spectrum of a signal

:None:None:`magnitude_spectrum`

Return the magnitude of the frequency spectrum of a signal

:None:None:`angle_spectrum`

Return the angle (wrapped phase) of the frequency spectrum of a signal

:None:None:`phase_spectrum`

Return the phase (unwrapped angle) of the frequency spectrum of a signal

detrend_mean

Remove the mean from a line.

detrend_linear

Remove the best fit line from a line.

detrend_none

Return the original line.

stride_windows

Get all windows in an array in a memory-efficient manner

Examples

See :

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/mlab.py#0
type: <class 'module'>
Commit: