igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] generate graph with fixed coordinates


From: Zhongliang Zhao
Subject: Re: [igraph] generate graph with fixed coordinates
Date: Wed, 20 Mar 2013 17:20:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20

Not only for plotting. I want to create a topology in which  node are placed at specific position.
For example, I want to put node 1 at (1,1), node 2 at (2,2), ..., node 10 at (10, 10).

Cheers,
Zhongliang

On 03/20/2013 05:14 PM, Gábor Csárdi wrote:
Hi, you mean plotting a graph? You can supply your coordinates in a two-column matrix as the 'layout' argument of plot(). Please read the manual pages 

?plot.igraph
?igraph.plotting

Gabor


On Wed, Mar 20, 2013 at 12:07 PM, Zhongliang Zhao <address@hidden> wrote:
Dear all,

As a new user of igraph, I want to create a graph with specific coordinates, give coordinates as input parameters.
Can anyone give me a hint how to do this?

--
Best regards,
Zhongliang Zhao


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help

_______________________________________________ igraph-help mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/igraph-help


-- 
Thanks and best regards,
Zhongliang Zhao

reply via email to

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