ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

Igraph绘图参数

Igraph绘图参数 NODESvertex.colorNode colorvertex.frame.colorNode border colorvertex.shapeOne of “none”, “circle”, “square”, “csquare”, “rectangle” “crectangle”, “vrectangle”, “pie”, “raster”, or “sphere”vertex.sizeSize of the node (default is 15)vertex.size2The second size of the node (e.g. for a rectangle)vertex.labelCharacter vector used to label the nodesvertex.label.familyFont family of the label (e.g.“Times”, “Helvetica”)vertex.label.fontFont: 1 plain, 2 bold, 3, italic, 4 bold italic, 5 symbolvertex.label.cexFont size (multiplication factor, device-dependent)vertex.label.distDistance between the label and the vertexvertex.label.degreeThe position of the label in relation to the vertex, where 0 right, “pi” is left, “pi/2” is below, and “-pi/2” is aboveEDGESedge.colorEdge coloredge.widthEdge width, defaults to 1edge.arrow.sizeArrow size, defaults to 1edge.arrow.widthArrow width, defaults to 1edge.ltyLine type, could be 0 or “blank”, 1 or “solid”, 2 or “dashed”, 3 or “dotted”, 4 or “dotdash”, 5 or “longdash”, 6 or “twodash”edge.labelCharacter vector used to label edgesedge.label.familyFont family of the label (e.g.“Times”, “Helvetica”)edge.label.fontFont: 1 plain, 2 bold, 3, italic, 4 bold italic, 5 symboledge.label.cexFont size for edge labels edge.curved Edge curvature, range 0-1 (FALSE sets it to 0, TRUE to 0.5)arrow.modeVector specifying whether edges should have arrows, possible values: 0 no arrow, 1 back, 2 forward, 3 bothOTHERmarginEmpty space margins around the plot, vector with length 4frameif TRUE, the plot will be framedmainIf set, adds a title to the plotsubIf set, adds a subtitle to the plot
返回列表