igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] boxed.labels ?


From: Gábor Csárdi
Subject: Re: [igraph] boxed.labels ?
Date: Tue, 31 Aug 2010 11:55:48 +0200

Not currently, more precisely, only by drawing rectangles at the
appropriate places by hand with the symbols() function. I have added
it to the TODO list:
https://bugs.launchpad.net/igraph/+bug/627322

Best,
Gabor

On Sun, Aug 29, 2010 at 10:09 PM, Sean Goggins <address@hidden> wrote:
> Is there a way to create a box around labels in order to make them easier to
> read in complex graph?  I do this using "boxed.labels" in other "R"
> programs... (I know iGraph has interfaces other than R... R is just what I
> use).
>
> Here is some sample code:
>
> g<-disAll
> com <- spinglass.community(g, spins=8)
> V(g)$color <- com$membership+1
> g <- set.graph.attribute(g, "layout", layout.kamada.kawai(g))
> # here is where I would like to put a box around the labels...
> plot(g, vertex.label.dist=.5, vertex.label.cex=.7,
> vertex.label.color="orange")
>
>
>
> Thanks,
>
> --
> Sean P. Goggins, Ph.D
> http://www.goggins.com
> Phone: (215) 948-2729
>
> "Never doubt that a small group of thoughtful, committed citizens can change
> the world. Indeed, it is the only thing that ever has."
> -- Margaret Mead
>
> "The most effective way to do it, is to do it."
> -- Amelia Earhart
>
> http://www.sociotech.net
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]