Biskit :: MatrixPlot :: MatrixPlot :: Class MatrixPlot
[show private]
[frames] | no frames]

Class MatrixPlot

source code


Class to plot the values of a matix, the rows and the columns will be plotted along the x- and y-axis, respectively. The value of each cell will be illutrated using the selected color range.

Instance Methods [show private]
biggles.FramedPlot __init__(self, matrix, mesh=0, palette="plasma", legend=0)
Returns biggles plot object, view with biggles.FramedPlot.show() or save with biggles.FramedPlot.write_eps(file_name).

Method Details [show private]

__init__(self, matrix, mesh=0, palette="plasma", legend=0)
(Constructor)

source code 
Parameters:
  • matrix (array) - the 2-D array to plot
  • mesh (1|0) - create a plot with a dotted mesh
  • palette (str) - color palette name see Biskit.ColorSpectrum
  • legend (1|0) - create a legend (scale) showing the walues of the different colors in the plot.
Returns: biggles.FramedPlot
biggles plot object, view with biggles.FramedPlot.show() or save with biggles.FramedPlot.write_eps(file_name).