Module for special-purpose plots.
mpltools.special.errorfill(x, y[, yerr, ...]) | Plot data with errors marked by a filled region. |
mpltools.special.hinton(inarray[, max_value]) | Plot Hinton diagram for visualizing the values of a 2D array. |
Plot data with errors marked by a filled region.
Parameters : | x, y : arrays
yerr, xerr: [scalar | N, (N, 1), or (2, N) array] :
color : Matplotlib color
ls : Matplotlib line style
lw : Matplotlib line width, float value in points
alpha : float
alpha_fill : float
label : str
label_fill : str
ax : Axis instance
|
---|
Plot Hinton diagram for visualizing the values of a 2D array.
Plot representation of an array with positive and negative values represented by white and black squares, respectively. The size of each square represents the magnitude of each value.
Unlike the hinton demo in the matplotlib gallery [R2], this implementation uses a RegularPolyCollection to draw squares, which is much more efficient than drawing individual Rectangles.
Note
This function inverts the y-axis to match the origin for arrays.
[R2] | http://matplotlib.sourceforge.net/examples/api/hinton_demo.html |
Parameters : | inarray : array
max_value : float
|
---|