Vertex Colors
- To: mathgroup at smc.vnet.net
- Subject: [mg93984] Vertex Colors
- From: Kevin Coffey <kevin.coffey at undp.org>
- Date: Mon, 1 Dec 2008 06:59:47 -0500 (EST)
Dear Math Group, I assume there is a really simple answer to this question, but I rarely use graphics in mathematica, because as before, I wasted about two hours trying to find out something really simple. I have an Adjacency Matrix that I want to convert to a Graph. No problem with this, but then I want to color each vertex a specific color. I can get them all one color or alternating colors. I though I could simply go with: 1->Red, 2->Blue, etc=E2=80=A6 No such luck. Here is where I am right now: ShowLabeledGraph[FromAdjacencyMatrix[%],VertexColor->??????] Any help would be most appreciated. Thank you, Kevin Kevin Coffey, Ph.D. Knowledge Management Specialist & Scientific Affairs Officer MDGI - UNDP Asia Pacific Regional Centre Colombo 23 Independence Avenue, Colombo 07, Sri Lanka Email: kevin.coffey at undp.org Tel :- +94 (11)4526400 Ext.261
- Follow-Ups:
- Re: Vertex Colors
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Vertex Colors