igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Examples about layouts


From: Gábor Csárdi
Subject: Re: [igraph] Examples about layouts
Date: Wed, 15 Oct 2008 16:21:41 +0200

Maybe in the manual(s), maybe in the tutorial, maybe nowhere. But
essentially it is no big deal, you just supply a matrix with 2 (plot,
tkplot) or 3 (rglplot) columns as the 'layout' parameter.

e.g. in R:

g <- graph.lattice( c(10,10) )
lay <- as.matrix(expand.grid(1:10, 1:10))
plot(g, layout=lay, vertex.size=5, vertex.label=NA)

Gabor

On Wed, Oct 15, 2008 at 4:06 PM, Marco <address@hidden> wrote:
> Hi all,
>
> where can I find examples of the use of plot with some given layout?
>
> TIA,
>
> marco
>
>
> --
>
> è il gioco della vita,
> la dobbiamo preparare
> che non ci sfugga dalle dita
> come la sabbia in riva al mare.
>
> Lucio Dalla
>
>
> _______________________________________________
> 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]