Hi Knut,

On Tue, Apr 7, 2009 at 12:36 PM, Knut Krueger <r...@krueger-family.de> wrote:
> Gábor Csárdi schrieb:
>
> Hi Gábor,
> thank you for your hint to your package. It is very useful for us.
> I tried to use the example:
> http://igraph.sourceforge.net/screenshots2.html#2
> Two questions:
> 1. Is it possible to start from 1 to n instead from 0 to n-1 using
> graph(data, directed=TRUE)

What about subtracting one?

graph(data-1, directed=TRUE)

> 2. is it possible to change the thickness of the lines depending of the
> interactions between the nodes automatically?

It depends what you mean by 'automatically'. You can assign an edge
attribute called 'width' and 'plot'  (and tkplot and rglplot)
considers it when drawing the graph. See
help("attributes", package="igraph") and ?igraph.plotting for details.

Best,
Gabor

> With kind regards Knut
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Gabor Csardi <gabor.csa...@unil.ch>     UNIL DGM

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to