Jumat, 14 Juni 2013

TUGAS PROBSTAT

print "                   ALBET ARIFIAN R"                  
print "                      0915031078"                                                                        
print "           TUGAS PROBABILITAS DAN STATISTIKA"

import numpy as np
import matplotlib.pyplot as plt

alphab = ['Basel', 'Grashopper', 'St.Gallen', 'Zurich', 'FC Thun' , 'FC Sion', 'Young Boys', 'FC Luzern', 'FC Lausanne-Sport', 'Servette FC']
frequencies = [72, 69, 59, 55, 48, 48, 43, 42, 33, 26]

pos = np.arange(len(alphab))
width = 0.5
ax = plt.axes()
ax.set_xticks(pos + (width / 5))
ax.set_xticklabels(alphab)

plt.title("KELASEMEN AKHIR LIGA SUPER SWISS 2012 - 2013")
plt.xlabel("Tim")
plt.ylabel("Poin")
plt.bar(pos, frequencies, width, color='b')
plt.show()







sumber :http://www.goal.com/id-ID/results-standings/273/liga-super-swiss/table?ICID=OP