Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
import pandas as pd
|
||||
import matplotlib.pyplot as plt
|
||||
from mpl_toolkits.mplot3d import Axes3D
|
||||
|
||||
# Daten laden
|
||||
df = pd.read_csv('3d_flugbahnen.csv', sep=';')
|
||||
|
||||
fig = plt.figure(figsize=(10, 7))
|
||||
ax = fig.add_subplot(111, projection='3d')
|
||||
|
||||
# Jeden Schuss einzeln plotten
|
||||
for schuss_id in df['SchussID'].unique():
|
||||
daten = df[df['SchussID'] == schuss_id]
|
||||
ax.plot(daten['X'], daten['Z'], daten['Y'], alpha=0.6)
|
||||
|
||||
ax.set_xlabel('Distanz (X)')
|
||||
ax.set_ylabel('Seitlich (Z)')
|
||||
ax.set_zlabel('Höhe (Y)')
|
||||
ax.set_title('3D Flugbahnen mit Streuung')
|
||||
|
||||
plt.show()
|
||||
|
||||
Reference in new issue
Block a user