Script Python menggunakan matplotlib

Untuk menjalankannya dibutuhkan aplikasi tambahan yaitu matplotlib Silahkan inbox jika ada yang minat 1. Script I, membuat diagram garis dengan matplotlib python script x=( 4 , 8 , 13 , 17 , 28 ) y=( 54 , 67 , 98 , 78 , 45 ) import matplotlib.pyplot as plt plt.plot([ 4 , 8 , 13 , 17 , 28 ],[ 54 , 67 , 98 , 78 , 45 ]) plt.show() 2. Script II , membuat diagram titik menggunakan matplotlib python script import matplotlib.pyplot as plt x=[ 2 , 4 , 6 , 7 , 9 , 13 , 19 , 26 , 29 , 31 , 36 , 48 , 48 , 51 , 57 , 67 , 69 , 71 , 78 , 88 ] y=[ 14 , 72 , 43 , 2 , 8 , 98 , 189 , 5 , 35 , 28 , 48 , 83 , 94 , 84 , 73 , 11 , 464 , 75 , 200 , 54 ] plt.scatter(x,y) plt.show() 3. Script III, membuat diagram batang menggunakan matplotlib python script x=[ 2 , 4 , 6 , 5 , 42 , 543 , 5 , 3 , 73 , 64 , 42 , 97 , 63 , 76 , 63 , 8 , 73 , 97 , 23 , 45 , 56 , 89 , 45 , 3 , 23 , 2 , 5 , 78 , 23 , 56 , 67 , 78 , 34 ] import mat...