Пример #1
0
            zorder=10)
plt.title("Vue du dessus du terrain de la trajectoire du coup sans aléas")
plt.savefig("image/vue_dessus" + num + ".SVG")

#Plot 3D
plt.figure(figsize=(8, 8))
ax = plt.axes(projection="3d")
ax.plot3D(x[:stop], y[:stop], z[:stop], '#000000', zorder=10)
ax.plot3D(x[stop - 1:],
          y[stop - 1:],
          z[stop - 1:],
          '--',
          color='#000000',
          zorder=10)
ax.axis('off')
ax.margins(-0.49, -0.49, 0)
ax.view_init(elev=20, azim=-65)
ax.dist = 6
plottenniscourt3D()
plt.title("Plot 3D de la trajectoire du coup sans aléas")
plotnet3D()
plt.savefig("image/vue_plot_3D" + num + ".SVG")

#Plot aléas
with open(file_path_alea, newline='') as csvfile:
    reader = csv.DictReader(csvfile)
    x = []
    y = []
    z = []
    i = 1
    for row in reader: