Hello everyone,
As a student a little help would be kindly appreciated.
Here is my problem :
I have to recreate, through experimentation, a polar graph. Thus i already have all the experimental values that are supposed to be linked together : angles and numerical values.
Here is my code so far :
‘’’
import numpy as np
import matplotlib.pyplot as pl
thetadegres=np.arange(0, 95, 5)
eclairement=[30769, 30183, 30470, 30916, 30329, 31062, 30623, 28865, 28866, 28865, 28865, 21246, 21978, 21392, 20952, 20952, 21685, 20952, 22710]
pl.polar(thetadegres, eclairement, ‘-k’, marker=“+”)
ax = pl.subplot(111, polar=True)
ax.set_theta_zero_location(“N”)
pl.title(“Distribution spatiale”)
pl.savefig(“Distribution spatiale.png”)
pl.show()
‘’’
I don’t get why the numericalvalues don’t seem to match the angles values…
Thank you so much for your help.