Basic Plot With Multiple Axes

import matplotlib.pyplot as plt
x = [1, 2, 3, 4]
y = [1, 4, 9, 16]
z = [1, 8, 27, 64]
x, y, z
([1, 2, 3, 4], [1, 4, 9, 16], [1, 8, 27, 64])
plt.plot(x, y, z)
plt.axis([0, 10, 0, 80])
[0, 10, 0, 80]

png