/[ascend]/trunk/pygtk/incidencematrix.py
ViewVC logotype

Diff of /trunk/pygtk/incidencematrix.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1386 by johnpye, Tue Jul 4 07:05:44 2006 UTC revision 1387 by jpye, Sat Apr 7 14:43:31 2007 UTC
# Line 34  class IncidenceMatrixWindow: Line 34  class IncidenceMatrixWindow:
34          _im_cmap =  LinearSegmentedColormap('im_cmap',  cmapdata, 4)          _im_cmap =  LinearSegmentedColormap('im_cmap',  cmapdata, 4)
35    
36          pylab.ioff()          pylab.ioff()
37            pylab.figure()
38          ax = pylab.subplot(111)          ax = pylab.subplot(111)
39          ax.axis('equal') # aspect ratio = 1.0          ax.axis('equal') # aspect ratio = 1.0
40          ax.imshow(self.data, cmap=_im_cmap, interpolation='nearest')          ax.imshow(self.data, cmap=_im_cmap, interpolation='nearest')

Legend:
Removed from v.1386  
changed lines
  Added in v.1387

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22