Article Outline
Python matplotlib example 'Plots5'
Modules used in program:
import matplotlib.pyplot as plt
import numpy as np
python Plots5
Python matplotlib example: Plots5
import numpy as np
import matplotlib.pyplot as plt
#a 1000 x 2 array from data.
data = np.random.rand(1000, 2)
#scatter all the points
plt.scatter(data[:,0] ,data[:,1] )
plt.show()
Python links
- Learn Python: https://pythonbasics.org/
- Python Tutorial: https://pythonprogramminglanguage.com