Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
ws1617:the_art_of_music:protokolle:05 [2017/02/09 15:10] cm.mint.2016 |
ws1617:the_art_of_music:protokolle:05 [2017/02/23 12:32] (aktuell) cm.mint.2016 |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== 2017-01-26: ====== | ====== 2017-01-26: ====== | ||
- | |||
- | Wir haben uns das erstes Mal mit der Verbildlichung unseres Projekts auseinandergesetzt. | ||
+ | Wir haben uns das erstes Mal mit der Visualisierung unseres Projekts auseinandergesetzt. | ||
+ | |||
+ | <code python> | ||
+ | #!/usr/bin/env python | ||
+ | # -*- coding: utf-8 -*- | ||
+ | # | ||
+ | # server.py | ||
+ | # | ||
+ | # Copyright 2015 Stefan Born <born@math.tu-berlin.de> | ||
+ | # | ||
+ | # This program is free software; you can redistribute it and/or modify | ||
+ | # it under the terms of the GNU General Public License as published by | ||
+ | # the Free Software Foundation; either version 2 of the License, or | ||
+ | # (at your option) any later version. | ||
+ | # | ||
+ | # This program is distributed in the hope that it will be useful, | ||
+ | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
+ | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
+ | # GNU General Public License for more details. | ||
+ | # | ||
+ | # You should have received a copy of the GNU General Public License | ||
+ | # along with this program; if not, write to the Free Software | ||
+ | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
+ | # MA 02110-1301, USA. | ||
+ | # | ||
+ | # | ||
+ | |||
import matplotlib | import matplotlib | ||
- | matplotlib.use('GTKAgg') | + | #matplotlib.use('GTKAgg') |
import matplotlib.pyplot as plt | import matplotlib.pyplot as plt | ||
Zeile 142: | Zeile 167: | ||
main() | main() | ||
- | + | </code> | |
- | + |