1 | initial version |
Instead of using ScatterPlot, which is a helper class, use scatter_plot
as follows.
sage: x = scatter_plot([(x, len(divisors(x))) for x in range(2, 100000)], facecolor='white', marker='s')
sage: x
Launched png viewer for Graphics object consisting of 1 graphics primitive
Or you could use Sage's plot2d
as follows:
sage: x = point2d(((x, len(divisors(x))) for x in range(2, 100000)))
sage: x
Launched png viewer for Graphics object consisting of 1 graphics primitive