Rotate vertex label

When plotting using the igraph package, how can I rotate the vertex label on the graph, for example, pi / 4?

library(igraph)
g = graph.ring(5)
V(g)$name = paste(LETTERS[1:5], 'rotate_45')
plot.igraph(vertex.label.rotate=pi/2, g ) ##this doesn't work
+4
source share
1 answer

I used the plot.igraph () parameter, and then contacted igraph.plotting (next to the additional construction parameters), where I found that the function could actually be "label.degree" and not vertex.label.rotate.

0
source

All Articles