igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Examples about layouts


From: Marco
Subject: Re: [igraph] Examples about layouts
Date: Wed, 15 Oct 2008 17:02:53 +0200

Sweet, thanks!

m

--

è il gioco della vita,
la dobbiamo preparare
che non ci sfugga dalle dita
come la sabbia in riva al mare.

Lucio Dalla



On Wed, Oct 15, 2008 at 4:57 PM, Tamas Nepusz <address@hidden> wrote:
>> How can I plot vertices of different degree with different sizes? (the
>> higher the bigger)
>
> You can set the vertex sizes via either passing a list as the value of the
> vertex_size keyword argument of plot(), or using the "size" attribute of the
> vertices:
>
> g=Graph.GRG(100, 0.2)
> plot(g, vertex_size=g.degree())
>
> OR
>
> g=Graph.GRG(100, 0.2)
> g.vs["size"] = g.degree()
> plot(g)
>
> See the following URL for details on the keyword arguments that plot()
> accepts:
> http://cneurocvs.rmki.kfki.hu/igraph/doc/python/igraph.Graph-class.html#__plot__
>
> --
> T.
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>




reply via email to

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