Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

pylab_examples::image_nonuniform Namespace Reference

Detailed Description

This illustrates the NonUniformImage class, which still needs
an axes method interface; either a separate interface, or a
generalization of imshow.


tuple ax = fig.add_subplot(221)
tuple fig = figure()
tuple im = NonUniformImage(ax, interpolation=interp, extent=(-4,4,-4,4))
string interp = 'nearest'
tuple x = np.linspace(-4, 4, 9)
int x2 = 3
tuple y = np.linspace(-4, 4, 9)
tuple z = np.sqrt(x[np.newaxis,:]**2 + y[:,np.newaxis]**2)

Generated by  Doxygen 1.6.0   Back to index