Menu

[r282]: / trunk / htdocs / examples / scatter_demo.py  Maximize  Restore  History

Download this file

12 lines (10 with data), 187 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#!/usr/bin/env python
from matplotlib.matlab import *
x = 0.9*rand(30)
y = 0.9*rand(30)
s = 0.1*rand(30)
c = rand(30)
scatter(x,y,s,c)
axis([0, 1, 0, 1])
#savefig('scatter_demo')
show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.