Hi Bala,

I added a small example showing up your matrix in order to have a running 
example, where you can specify your needs. 

In the program contourf  could be replaced by contour or imshow - see help / 
docu / examples on the web 
The colormap can be specified with the kwarg "cmap" : e.g. pyplot.cm.gray.

regards Matthias

On Wednesday 08 April 2009 14:08:13 Bala subramanian wrote:
> Friends,
>
> I have a pairwise comparison of 50 data points. The comparison is based on
> the mean square deviation between the points. I want to plot this data by
> specifying different colors for diffrent ranges of mean square deviation.
> Any suggestion would be of much help to me. I have attached the data file
> with the mail.
>
> Thanks,
> Bala


Attachment: show_matrix.py
Description: application/python

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to