I have 3D data as the columns of a numpy array (that is to say that array[0] = [0,0,0], etc.), e.g.
X Y Z
0 0 0
0 1 10
1 0 20
1 1 30
I would like to plot this so that each (X,Y) co-ordinate has a square centered on the co-ordinate, with a colorbar from (e.g.) 0 to 30 showing the Z value.
I would then like to overlay some contour lines, but the first part of the question is most important.
There is help for people who have already-gridded data, but I am not sure of the best matplotlib routine to call for my column data. Also, this is for scientific publication, so needs to be of a good quality and look! Hope someone can help!