Hi,

I have switched to numpy (I was using numarray before) with matplotlib.

I have now however a problem when doing for example:

x = numpy.core.multiarray.arange(0.,6.,1.)

y = numpy.core.multiarray.arange(0.,6.,1.)

clos = numpy.core.multiarray.arange(0.,1.,.1)

scatter(x,y,c=clos)

I get:

.................

/usr/lib/python2.4/site-packages/matplotlib/numerix/__init__.py in typecode(a)

89 # so assume numpy.

90 def typecode(a):

---> 91 return a.dtypechar

92 def iscontiguous(a):

93 return a.flags.contiguous

AttributeError: 'numpy.ndarray' object has no attribute 'dtypechar'

ONE OTHER question:

- is it possible when using "scatter" to have the specified color (c=...) projected on the present colormap like when using an array of colors, instead of just having levels of grey? I have N points that I wish to plot but all with the same color which I wish to specify by a simple number between e.g. 0 and 1 corresponding to my colormap.

thanks

Eric

## ···

--