I am importing data from a excel file in order to make a scatter polar plot of the data. The data are all gather in a specific area of the polar axes and instead of having a concentration of points (cf image below, blue points and code below), I would rather have a the contour the whole group of point.
Is there a method to do it in Python ? I have tried to use the method 'contourf' (cf stackover flow: Polar contour plot in matplotlib - best (modern) way to do it?). But I am getting stuck into it, my attempts to apply it have failed. Is there another method to plot contour of a group of points ?
Thank you !
`
df = pd.read_excel('BW3/BW3StartValues.xlsx')
fig = plt.figure()
ax1 = fig.add_subplot(111, projection='polar')
C = df.C
h = df.h
h = np.radians(h) # convert values of the angle from degrees to radians
ax1.scatter(h,C, s = 5, marker = 'o', color='b')
ax1.set_rmax(60)
plt.show()