Logo Search packages:      
Sourcecode: matplotlib version File versions

scatter_demo.py

#!/usr/bin/env python
from pylab import *

N = 30
x = 0.9*rand(N)
y = 0.9*rand(N)
area = pi*(10 * rand(N))**2 # 0 to 10 point radiuses
scatter(x,y,s=area, marker='^', c='r')
savefig('scatter_demo')

show()

Generated by  Doxygen 1.6.0   Back to index