7
igraph의 vertex.shape 기능을 사용하는 사람이 있습니까? 이 http://cneurocvs.rmki.kfki.hu/igraph/doc/R/igraph.vertex.shapes.html은 유망했지만 이해할 수 없었습니다. 누구든지 작업 코드의 예가 있습니까?igraph vertex.shape 기능을 사용하는 방법
igraph의 vertex.shape 기능을 사용하는 사람이 있습니까? 이 http://cneurocvs.rmki.kfki.hu/igraph/doc/R/igraph.vertex.shapes.html은 유망했지만 이해할 수 없었습니다. 누구든지 작업 코드의 예가 있습니까?igraph vertex.shape 기능을 사용하는 방법
vertify는 그래프의 노드입니다. 당신이 그 (것)들을 그릴 때 당신은 직사각형 또는 원형 또는 다른 어떤 모양으로 그 (것)들을있을 수있다. 당신이 생각하는 것이 무엇이든 가장 예쁘게 보입니다.
?igraph.vertex.shapes
페이지의 예부터 살펴보십시오. layout
인수에 대해 허용 된 값에 대한 ?layout
을 참조 vertex.shape
인수
g <- graph.ring(10, dir=TRUE, mut=TRUE)
plot(g, vertex.shape="rectangle", layout=layout.circle)
허용되는 값은
names(igraph:::.igraph.shapes)
[1] "circle" "square" "csquare" "rectangle" "crectangle"
[6] "vrectangle" "none"
에 의해 주어진다.
유익한 대답을위한 첫 번째. '이름 (igraph :::. igraph.shapes)'은'igraph' 패키지를 가지고 있고 이미로드했지만 내 콘솔에는'NULL'을 생성합니다. '? igraph.vertex.shapes'에 대한 리디렉션도 있는데, http : //127.0.0.1 : 27356/library/igraph/html/shapes.html'로 리디렉션됩니다. –