Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Coloring in ShowGraph[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57772] Re: [mg57749] Coloring in ShowGraph[]
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 8 Jun 2005 03:21:21 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Mike,

Needs["DiscreteMath`Combinatorica`"]

g = SetGraphOptions[Cycle[5],
      {{1, 2, VertexStyle -> Disk[0.1], VertexColor -> Blue}},
      VertexStyle -> Box[Large],
      VertexColor -> Red];
ShowGraph[g, PlotRange -> All]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/ 

From: Mike Witt [mailto:mwNOSPAM at mu.uoregon.edu]
To: mathgroup at smc.vnet.net

<<DiscreteMath`Combinatorica`

Can someone tell me how to color a *specific* vertex or edge
in ShowGraph[]?  I must be missing something obvious, but I
can't figure out how to do it.





  • Prev by Date: Re: goto and label
  • Next by Date: Re: Centering of graphics
  • Previous by thread: Re: WolframNotebookIndexer
  • Next by thread: Solve with assumptions