Description Usage Arguments Details Value Examples
Standard plot of an object gn.
Following some coding found in
slots x@pos and x@arc, decorations are added to the arcs and to the
nodes. More precisely:
Each row of the matrix x@pos@posi is
associated to a node. The first three columns give the (X,Y,Z)
coordinates (in /rebastaba/ graphs are placed in R to the 3 and the
4th column indicates if the node must be surrounded by nothing (0), a
square (1), a circle (2).
x@arc@fle is a matrix with rows
associated to arcs. The first column is the iin of the departure node
and the second the iin of the arrival node. The 3rd column indicates
the style of the arrow by three combined parameters com =
100*code+10*lty+lwd. code is the standard parameter of basic R arrows
function, lty and lwd parameters are standard ones from par... The
standard value of com is 211.
1 |
x |
the gn to plot |
y |
added useless argument to comply R requirement. |
... |
Further arguments to be passed to the plot function. |
main |
(=NULL) main title for the graph, when NULL x@description@name is taken as title. |
frame |
(=FALSE) to indicate if a frame has to be drawn |
Possible decorations for nodes are: square (1), circle (2).
x@arc@fle[,3] determines the style of the arcs: cdu
c gives the
kind of arrows (see R function arrow): {0,1,2,3}
d gives the
type of lines: {0,1,...,6}
u gives the width of the line:
[0.5,5]
returns nothing but a plot is drawn
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.