I have this script:
from pylab import *
from numarray import *
a = arange(10)
scatter(a,a,c=a,s=60,cmap=cm.winter)
colorbar()
show()
but instead to have the brighter point in green I want to have them in
blue. To obtain it I did a stupid things and I invert the map:
from pylab import *
from numarray import *
a = arange(10)
scatter(a,a,c=-a,s=60,cmap=cm.winter)
colorbar()
show()
but the colormap scale is in good direction green to blue but negative.
Do you know how can I correct this perhaps it's not possible and the
anly way to do this is to create a new color map?
Thanks,
N.
|