MathGroup Archive 2012

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

Search the Archive

Re: Simple Graph plot question

Use a contrasting color for the vertices and make the edges somewhat

g = RandomGraph[{50, 490},
  VertexSize -> Large,
  PlotLabel -> Small,
  ImageSize -> 500,
  VertexStyle -> Red,
  EdgeStyle -> Opacity[.4]]

Or convert the Graph to GraphPlot

 PlotLabel -> Small,
 ImageSize -> 500,
 PlotRangePadding -> None,
 EdgeRenderingFunction ->
  ({Thin, Darker[Blue, .6], Line[#1]} &),
 VertexRenderingFunction ->
  ({Red, EdgeForm[Black], Disk[#, .04]} &)]

Bob Hanlon

On Sun, Apr 1, 2012 at 3:40 AM, Murta <rodrigomurtax at> wrote:
> Hi All
> I'm working with some Graph plot, and have some difficult with the
> objects render order. In this toy example
> RandomGraph[{50,490},VertexSize->Large,PlotLabel->Small,ImageSize->
> 500]
> all my vertex are drawn in the background (below the edges), making my
> graph useless.
> How do I pass vertex to the foreground?
> With the old GraphPlot we don't have this problem, just with the new
> one Graph.
> Some clue?
> tks in advance
> Murta

  • Prev by Date: Re: typesetting derivative at a value
  • Next by Date: recursively solve equation and save the values only
  • Previous by thread: Simple Graph plot question
  • Next by thread: Re: Simple Graph plot question