Here is my code for building some data:
from scipy.interpolate import griddata from numpy import linspace import matplotlib.pyplot as plt meanR = [9.95184937, 9.87947708, 9.87628496, 9.78414422, 9.79365258, 9.96168969, 9.87537519, 9.74536093, 10.16686878, 10.04425475, 10.10444126, 10.2917172 , 10.16745917, 10.0235203 , 9.89914 , 10.11263505, 9.99756449, 10.17861254, 10.04704248] koord = [[1,4],[3,4],[1,3],[3,3],[2,3],[1,2],[3,2],[2,2],[1,1],[3,1],[2,1],[1,0],[3,0],[0,3],[4,3],[0,2],[4,2],[0,1],[4,1]] x,y=[],[] for i in koord: x.append(i[0]) y.append(i[1]) z = meanR xi = linspace(-2,6,300); yi = linspace(-2,6,300); zi = griddata((x, y), z, (xi[None,:], yi[:,None]), method='cubic') CS = plt.contourf(xi,yi,zi,15,cmap=plt.cm.jet) plt.scatter(x,y,marker='o',c='b',s=15) plt.xlim(min(x),max(x)) plt.ylim(min(y),max(y)) plt.show()
As a result, we have:

How can I write it in a circle? something like that 