ploting matrix data

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

v.matrix (37.1 KB)

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

show_matrix.py (431 Bytes)

ยทยทยท

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