import matplotlib.pyplot as plt

# xs = list("ABCDE")
# ys = [12, 4, 7, 11, 3]
# plt.bar(xs, ys)

# def f(x):
#     return 2 * x**2 - 4*x + 3

# xs = list(range(-30,30))
# xs = [ x/10 for x in xs ]
# ys = [ f(x) for x in xs ]

# print(xs,ys)


# plt.plot(xs,ys, 'x-', linewidth=30)
# plt.plot(xs, [ x**3 - x**2 + x for x in xs ], '*-' )

temp = [20, 21, 18, 16, 22]

antall = [130, 150, 100, 30, 50]

size = [1000, 40, 200, 400, 1000]

colors = [ 3, 10, 34, 10, 5 ]

plt.scatter(temp, antall, s=size, c=colors)
plt.colorbar()

plt.show()

