import numpy as np
import matplotlib.pyplot as plt
a = []
i = 0
k = 0.01
for i in range(0,6):
k = k + 3.14/4
k = round(k,2)
a.append(k)
r = np.arange(0, 2, 0.01)
r2 = [0.5,0.6,0.7,0.8,0.9,1]
theta = 2 * np.pi * r
ax = plt.subplot(111, projection='polar')
ax.plot(a, r2)
ax.set_rmax(2)
ax.set_rticks([0.5, 1, 1.5, 2]) # less radial ticks
ax.set_rlabel_position(-22.5) # get radial labels away from plotted line
ax.grid(True)
ax.set_title("A line plot on a polar axis", va='bottom')
plt.show()
minuvasoft10@gmail.com
download here
No hay comentarios:
Publicar un comentario