igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] labels and edges in pajek format


From: Gábor Csárdi
Subject: Re: [igraph] labels and edges in pajek format
Date: Mon, 27 Apr 2009 14:14:44 +0200

Martín,

it is hard to say anything without having the test5.net file. Maybe
the file has some Pajek .net feature that we do not support. So could
you send the file? You can send it as an attachment if it is not too
big, or upload it to the web.

Best,
Gabor

On Mon, Apr 27, 2009 at 1:54 PM, Martín Graña <address@hidden> wrote:
> Hi there,
>
> First, congrats for the igraph package, which I recently 'discovered'.
>
> Second, what I did:
> --------------------
>> library(igraph)
>> library(Cairo)
>> g<-read.graph("test5.net", format="pajek")
>> coords <- layout.kamada.kawai(g)
>> plot(g, layout=coords, vertex.label=V(g)$id, edge.label=E(g)$weight)
> --------------------
>
> The edges are not displayed with these instructions; just labelled nodes.
> The graph has two (differently weighted) edges for each vertex pair.
>
> I am doing this with R 2.9.0 and igraph obtained through cran; running on a
> mac box (os x 10.4.11). The original .net file and/or a postscript produced
> by pajek could be sent to you. But I am not aware if this mailing-list
> supports attachments.
>
> Thanks in advance for the help you may pay to this request.
>
> Cheers,
> martin
>
>
> PS. Cairo library just loaded for future workaround --inspired by your
> screenshots.
>
>
> _______________________________________________
> 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]