Examples: examples/scatter.pyΒΆ

_images/scatter.png

Back to Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
scatter = Scatter()
scatter.label="Hooray dots!"

for i in range(100):
scatter.xValues.append(random.uniform(0, 10))
scatter.yValues.append(random.uniform(0, 10))

plot = Plot()
plot.hasLegend()
plot.add(scatter)
plot.save("scatter.png")