Trying again, a little more detail: I am trying to use the color setting feature of SCATTER:
colors=cm.spectral(linespace(0,100,len(x)) then, plotting: scatter(x,y,c=colors) I get the error: TypeError: c must be a matplotlib color arg or a sequence of them But I don't understand. >x.shape >(600,) >colors.shape >(600,4) so it appears to me that colors is indeed a sequence of intensities the same length as x? What is wrong then?? Thanks, .john ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users