旋转顶点标签

时间:2015-02-12 18:13:11

标签: r plot igraph

使用igraph包绘制图形时,如何在绘图中旋转顶点标签,例如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

1 个答案:

答案 0 :(得分:0)

我使用了?plot.igraph()然后链接到igraph.plotting(附近'附加绘图参数'),我发现该功能实际上可能是' label.degree' ;而不是vertex.label.rotate。