![](https://secure.gravatar.com/avatar/f08b017938d6a01d49546bf1b711885d.jpg?s=120&d=mm&r=g)
6 Mar
2008
6 Mar
'08
3:36 a.m.
my apologise for the previous mail in spanish well, my question is how show a image in scale of gray from 0 to 1?, because, my prgram is : from pylab import * from scipy import * H=array([[0.0,0.0,0.5,0.0,0.0],[0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0],[ 0.0,0.0,0.0,0.0,0.0],[0.0,0.0,0.0,0.0,0.0]]) print H; figure() imshow(H,cmap=cm.gray) well, 0.5 show how white and it's not correct, because the 0.5 is the half the scale the gray thanks