Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Colouring points on a graph' topicStudent Support Forum > General > "Colouring points on a graph"

Next Comment >Help | Reply To Topic
Author Comment/Response
LJB
12/22/04 06:57am

I don't even know whether Mathematica can do the following but in the feint hope it can:

How do you colour numbers depending on their factors. For example, I have written a function that computes the amount of ways that two primes numbers can be added together to make any desired even number g[k].

I have then plotted g[k] against k (desired even number) and have produed a lovely graph. It would now be fantastic if I could colour points on the graph so that if a number was divisible by 3 say, it was yellow, if it were divisible by 3 and 7 it was Magenta etc.

As I said before I do not know if this is even possible expecially for such a complicated function as the one I have which involves Prime, Count, SetAttributes, Orderless, Union, Flatten, Outer, ListPlot...!!

Thank you for your help.

Season's Greetings.

URL: ,

Subject (listing for 'Colouring points on a graph')
Author Date Posted
Colouring points on a graph LJB 12/22/04 06:57am
Re: Colouring points on a graph yehuda ben-s... 12/23/04 4:41pm
Re: Colouring points on a graph Andrew DuBui... 12/31/04 5:03pm
Next Comment >Help | Reply To Topic