This is my program which should be modified. My problem is I dont know how to define a function to make a contour with this matrixe. in fact I cant make a cooperation with (X,Y, Z ) while (X,Y) is a coordinates and Z is a value for it's (X,Y)
from matplotlib import *
from pylab import *
from load2 import *
from numpy import *
#######Read Deposition matrixe with load2 ######
Dira='/home/guest/AYAT/test/pm_modej'
A=load2(Dira)
### Defenition of Deposition matrixe ##########
dep = zeros((3000,3))
X = zeros((3000,3))
Y = zeros((3000,3))
for t in range(3000) :
dep[t, 0] = A[t, 0]
dep[t, 1] = A[t, 1]
dep[t, 2] = A[t, 2]
X[t, 0] = A[t, 0]
Y[t, 0] = A[t, 1]
############ make a contour and setting ########
CS = contourf(X, Y, dep, 9)
show()
