colors

colors For a visual representation of the matplotlib colormaps, see the ?Color? section in the gallery. matplotlib.colors A module for converting numbers or color arguments to RGB or RGBA RGB and RGBA are sequences of, respectively, 3 or 4 floats in the range 0-1. This module includes functions and classes for color specification conversions, and for mapping numbers to colors in a 1-D array of colors called a colormap. Colormapping typically involves two steps: a data array is first mapped ont

pyplot

pyplot matplotlib.pyplot Provides a MATLAB-like plotting framework. pylab combines pyplot with numpy into a single namespace. This is convenient for interactive work, but for programming it is recommended that the namespaces be kept separate, e.g.: import numpy as np import matplotlib.pyplot as plt x = np.arange(0, 5, 0.1); y = np.sin(x) plt.plot(x, y) matplotlib.pyplot.acorr(x, hold=None, data=None, **kwargs) Plot the autocorrelation of x. Parameters: x : sequence of scalar hold : boole

mlab

mlab matplotlib.mlab Numerical python functions written for compatability with MATLAB commands with the same names. MATLAB compatible functions cohere() Coherence (normalized cross spectral density) csd() Cross spectral density uing Welch?s average periodogram detrend() Remove the mean or best fit line from an array find() Return the indices where some condition is true; numpy.nonzero is similar but more general. griddata() Interpolate irregularly distributed data to a regular

legend and legend_handler

legend and legend_handler matplotlib.legend The legend module defines the Legend class, which is responsible for drawing legends associated with axes and/or figures. Important It is unlikely that you would ever create a Legend instance manually. Most users would normally create a legend via the legend() function. For more details on legends there is also a legend guide. The Legend class can be considered as a container of legend handles and legend texts. Creation of corresponding legend hand

gridspec

gridspec matplotlib.gridspec gridspec is a module which specifies the location of the subplot in the figure. GridSpec specifies the geometry of the grid that a subplot will be placed. The number of rows and number of columns of the grid need to be set. Optionally, the subplot layout parameters (e.g., left, right, etc.) can be tuned. SubplotSpec specifies the location of the subplot in the given GridSpec. class matplotlib.gridspec.GridSpec(nrows, ncols, left=None, bottom=None, right=Non