I am still trying to find a solution to my problem described here: matplotlib: assign color to a radius. I tried it first with contourplot but I think it is a better solution when I try to plot circles on the surface of the disk and assign colors to them. Therefore I have an array:
arr = np.array([[ 114.28, 14],
[ 128.57, 16],
[ 142.85,19],
[ 157.13,20],
[ 171.41,21],
[ 185.69,22],
[ 199.97,24],
[ 214.25,27],
[ 228.53,29],
[ 242.81,30],
[ 257.09,31],
[ 271.37,34],
[ 288.65,35],
[ 299.93,36],
[ 300,38]])
I would like to extend this array to an array with about 300 elements (depends on the radius of the disk. If the radius would be e.g. 500, I want to have an array with 500 elements)by interpolating between the values of the array linearly. I need an interpolation of both columns. I found this article: Interpolate between elements in an array of floats but I don't understand the code as they are talking about milliseconds and LED's... Thanks in advance !