[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] igraph problem with plotting - R version
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] igraph problem with plotting - R version |
Date: |
Thu, 26 Feb 2009 11:17:59 +0100 |
Hi Simone, the problem is that your graph has a 'shape' vertex
attribute, and that is interpreted by 'plot', but its values are not
known shapes. I agree that the error message could be better....
Remove the attribute, or rename it, and then it will work fine.
Best,
G.
On Wed, Feb 25, 2009 at 12:39 PM, Simone Gabbriellini
<address@hidden> wrote:
> hi list,
> I have this problem trying to plot a graph:
>> summary(g)
> Vertices: 209
> Edges: 265
> Directed: TRUE
> No graph attributes.
> Vertex attributes: id, shape.
> Edge attributes: weight.
>> l<-layout.circle(g)
>> l<-layout.norm(l,-1,1,-1,1)
>> plot(g, layout=l)
> Errore in FUN(1:265[[1L]], ...) : tentativo di applicare una non-funzione
> it says that I am trying to apply a non-function...
> igraph is able to read my net file... and it doesn't happen with all my net
> files, but only with some... attached there is one of the "bad" ones
> thanks in advance for any help,
> simone
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> UNIL DGM