example


Example of how to use matrix_plot


In [1]:
from scipy.misc import imread as imr

from matrix_plot import matrix_plot as mplt

%pylab inline


Populating the interactive namespace from numpy and matplotlib

Load *.png image


In [2]:
img = imr('data/neo.png', flatten=True)

Plot Neo matrix-style


In [3]:
mplt(img)


Change some parameters


In [8]:
mplt(img, figsize=(12, 12), charsize=18, brighten=4, fade=0.5)



In [ ]: