PLOTS scatterΒΆ
# -*-Python-*-
# Created by bgrierson at 15 Dec 2016 04:45
from pylab import random
# Create some data
x = random(1001)
y = x ** 2 + random(1001)
# Set the data point size, marker shape, color mapping and transparency
size = 40
marker = 'o'
colorby = y
alpha = 0.4
fig, ax = plt.subplots()
ax.scatter(x, y, s=size, marker=marker, c=colorby, alpha=alpha)