Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
pitch-class-histogram [2021/04/04 12:53] egor |
pitch-class-histogram [2021/04/08 08:57] (aktuell) egor |
||
---|---|---|---|
Zeile 25: | Zeile 25: | ||
import matplotlib.pyplot as plt | import matplotlib.pyplot as plt | ||
import numpy as np | import numpy as np | ||
+ | |||
fig, ax = plt.subplots() | fig, ax = plt.subplots() | ||
- | note = (' | + | note = (' |
x_pos = np.arange(len(note)) | x_pos = np.arange(len(note)) | ||
values = (40, 0, 58, 44, 1, 111, 3, 15, 0, 37, 61, 0) | values = (40, 0, 58, 44, 1, 111, 3, 15, 0, 37, 61, 0) | ||
Zeile 36: | Zeile 37: | ||
plt.show() | plt.show() | ||
</ | </ | ||
+ | |||
+ | {{: |