Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1423041

Browse files
author
Steve Chaplin
committed
SC 26/06/2004
svn path=/trunk/matplotlib/; revision=372
1 parent 599a185 commit 1423041

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

examples/mri_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
im = fromstring(file(dfile, 'rb').read(), Int16).astype(Float)
77
im.shape = 256, 256
88

9-
imshow(im, ColormapJet(256))
9+
#imshow(im, ColormapJet(256))
10+
imshow(im, cmap=cm.jet)
1011
axis('off')
1112
#savefig('mri_demo')
1213
show()

examples/multiline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
from matplotlib.matlab import *
23

34
plot(arange(10))

0 commit comments

Comments
 (0)