Simple Scatter Plot
Simple Scatter Plot
This is a really simple example of a scatter plot in MatPlotLib.
from matplotlib import pyplot as plt
import numpy as np
N = 1000
x = np.random.uniform(size=N)
y = np.random.normal(scale=100, size=N)
The plt.scatter()
function takes in two arguments for the data: x
and y
.
plt.scatter(x, y, marker='.')