Set x and y coordinates in python igraph
Asked by
Nybi Clamence
Hi,
I am using python 3.2 and igraph 0.6.
I am currently trying to plot the evolution of a subway network year by year, and I'd like to set up the x and y coordinates of each vertex so that the stations remain in the same position as the years go by. Essentially, I wouldn't use one of the built-in layout functions, and since I don't have hundreds of stations, I figure it should be ok.
I simply don't know how I can assign an x and y coordinate, is it simply an attribute as graph.vs[i]["x"]?
Thanks,
Nybi
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- igraph Edit question
- Assignee:
- Tamás Nepusz Edit question
- Solved by:
- Nybi Clamence
- Solved:
- Last query:
- Last reply:
This question was reopened
To post a message you must log in.