search for: edgeattr

Displaying 4 results from an estimated 4 matches for "edgeattr".

Did you mean: edgeattrs
2006 Jul 06
1
Rgraphviz: How to control the colours of edges in a graph
...A:B, B:C, C:D, D:A, A:C. I want the vertices A and B to be red and C and D to be blue. The problem is the following: I want the edges A:B and B:C to be green and the edges C:D and C:A to be yellow, while the edge A:C can have the default colour black. I assume that I have to specify this using the edgeAttrs-argument in the plot function, but I can't figure out how. Can anyone help? Thanks. S?ren Code for drawing the graph: library(Rgraphviz) V <- c("A","B","C","D") E <- list(c("A","B"),c("B","C"),c(...
2006 Aug 31
1
problem with postscript output of R-devel on Windows
...quot;1.11.29" fileName<-paste(experiment, contrast, "FDR", FDR, "Graph", "ps", sep=".") postscript(file=fileName, paper="special",width=width, height=height) #set up graphics device plot(result.gN, layout.param, nodeAttrs = nAttrs, edgeAttrs = eAttrs, main=paste(paste("Experiment:", experiment, "; Contrast:", contrast,"; FDR:", FDR, sep=""), paste("Min. connections ==", min.edges, "Min. citations per connection ==", min.cites, "Additional search criteria:"...
2006 Jul 06
1
Rgraphviz: Setting the edge width
...e","blue") names(nAttrs$fillcolor) <- V eAttrs <- list(color = c("A~B" = "green", "B~C" = "green", "C~D" = "yellow", "A~C" = "yellow")) plot(G, "neato", nodeAttrs = nAttrs, edgeAttrs = eAttrs)
2009 Feb 10
0
Resize edge's label fontsize
...tinct") eAttrs$label <- ew fs2 <- rep(c(72), length(ew)) names(fs2) <- edgeNames(A, recipEdges = "distinct") eAttrs$labelfontsize <- fs2 plot(A, attrs = list(node = list(label = "foo", fillcolor = "lightblue"), edge = list(color = "red")), edgeAttrs = eAttrs,recipEdges="distinct") Thanks.