X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=Rscripts%2Fsimi.R;fp=Rscripts%2Fsimi.R;h=98bacf7a50c3db6ac68d39a006704ed139f5a4e1;hp=12c0b45a7c5878d85be87c8d882e7374bba278fa;hb=1f82fb8e9ed83b8524b00039f1a8c51c2b12a8be;hpb=ea75400310e91c45b6a705119b2e33afc0933e3e diff --git a/Rscripts/simi.R b/Rscripts/simi.R index 12c0b45..98bacf7 100644 --- a/Rscripts/simi.R +++ b/Rscripts/simi.R @@ -239,7 +239,8 @@ plot.simi <- function(graph.simi, p.type = 'tkplot',filename=NULL, vertex.col = par(mar=c(2,2,1,0)) } par(pch=' ') - plot(g.toplot,vertex.label='', edge.width=we.width, vertex.size=vertex.size, vertex.color=vertex.col, vertex.label.color='white', edge.label=we.label, edge.label.cex=cex, edge.color=edge.col, vertex.label.cex = 0, layout=lo) + plot(g.toplot,vertex.label='', edge.width=we.width, vertex.size=vertex.size, vertex.color=vertex.col, vertex.label.color='white', edge.label=we.label, edge.label.cex=cex, edge.color=edge.col, vertex.label.cex = 0, layout=lo)#, rescale = FALSE) + #txt.layout <- lo txt.layout <- layout.norm(lo, -1, 1, -1, 1, -1, 1) #txt.layout <- txt.layout[order(label.cex),] #vertex.label.color <- vertex.label.color[order(label.cex)]