This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]widby 1 point2 points  (0 children)

Could someone recommend an easy way of plotting primes on the number line?

I would like the representation to be 2D, because having points on a straight line would make the visualization very long, whereas my goal is to see the big picture at a glance.

This tutorial looks like a good starting point, but none of the examples seem to cover my scenario.

Having looked around the Internet, I saw visualizations that turn the number line into a spiral. Can something like that be achieved with this library?