Skip to content

Instantly share code, notes, and snippets.

View ajhmohr's full-sized avatar

Alicia Hofelich Mohr ajhmohr

  • University of Minnesota
View GitHub Profile
@ajhmohr
ajhmohr / RotateLabels_igraph.R
Created April 1, 2016 13:22
Create rotated node labels for circle igraph in R
## How to rotate node labels on circle igraph in R
library(igraph)
### Example
## Generate some fake data
n <- 75
g <- erdos.renyi.game(n, 0.5)
V(g)$name = paste("long_name", 1:n, sep="_")