Friends,
I have a simple array like this data=[0,0,1,1,3,1,0,1,1,3]. I want to make a
plot (using pcolor/matshow) by giving distinct color to each integer.
Something like green for zero, red for 1 and blue for 3. Your suggestions /
any pseudo code would be of great help.

Thanks,
Bala
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to