On Tue, Apr 10, 2012 at 5:38 PM, Peter Flom <[email protected]> wrote: > Hello again > > Sorry to be asking so many questions! > > I have a connected component that I am trying to graph. When I run > > plot(component1, layout = layout.drl, vertex.size = 1, vertex.label = NA, > edge.arrow.size = .1) > > some of the links and nodes are blue, some are black. I didn't see anything > about this on the documentation for .drl, and the example they give there > shows up in all black. Eventually, I will want to change the colors of the > nodes, but I am curious as to what is going on
Most probably your graph has a vertex attribute called 'color' and this is automatically used for plotting. If you don't want it, you can say plot(...., vertex.color="black", ...). See summary(component1) ?igraph.plotting G. > Thanks! > > Peter > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help -- Gabor Csardi <[email protected]> MTA KFKI RMKI _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
