X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=Rscripts%2Fsimi.R;h=98bacf7a50c3db6ac68d39a006704ed139f5a4e1;hp=12c0b45a7c5878d85be87c8d882e7374bba278fa;hb=e4fcd29b0d143168ba43be91e3c829eceefb0dd3;hpb=eb3837fa8ebc881ef1df81980ec576ca0451eb40 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)]