Hi David,

William made a worksheet for a class he taught in the summer that
demonstrates the sieve of Eratosthenes at
https://sage.math.washington.edu:2007/home/pub/23/ It uses Sage
plotting.

On 10/19/07, David Roe <[EMAIL PROTECTED]> wrote:
> So, I'm doing a demo of the seive of Eratosthenes in class, and want to do
> it in Sage.  I'd like to have numbers change color as I check off primes
> (crossing off works too, but color seems easier).  Is there any way have a
> matrix M with some additional data so that show(M) would color some of the
> entries in different colors?  How does show(M) turn M into a graphics
> object?
>
> If people have ideas for another approach, that would be welcome as well.
> We've done a demo so far in GP and one in Mathematica.  I want to get Sage
> in the picture.  ;-)
> David
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to