In [1]:
import numpy as np

In [2]:
import matplotlib.pyplot as plt

In [3]:
y = [1, 7, 3, 5, 12]
x = [1, 2, 3, 4, 5]

In [4]:
plt.plot(x, y, marker='o');

In [5]:
y = [1, 7, 3, 5, 12]
x = [1, 2, 3, 4, 5]
plt.plot(x, y, marker='o');

In [6]:
%matplotlib


Using matplotlib backend: TkAgg

In [22]:
y = [1, 7, 3, 5, 12, 1, 3, 5, 7, 9, 0, 2, 5, 2, 1, 6, 8, 12, 15, 2, 9, 5, 7, 2, 1, 4, 7, 8, 7, 12, 15, 8, 6, 7]
x = [1, 2, 3, 4, 5, 2, 4, 6, 8, 10, 11, 12, 21, 4, 7, 1, 8, 7, 6, 5, 4, 2, 9, 8, 7, 19, 18, 22, 21, 19, 17, 23, 16, 5]

In [23]:
plt.scatter(x, y, marker='o');

In [ ]: