plot.degree {netmodels} | R Documentation |
Plots the degree distribution of the graph, the output may be redirected to a PDF file.
plot.degree(x, main = "Degree Distribution", type = "p", xlab = "Node", ylab = "Degree", col = "blue", log= "xy", filename = NULL, ...)
x |
Could be a igraph network object or the degree distribution of the network |
main |
Title of the output graphic, default = "Degree Distribution" |
type |
R graphic parameter for the plot style, default = "p" (points) |
xlab |
X-Axis name, default = "Node" |
ylab |
Y-Axis name, default = "Degree" |
col |
Plot color, default = "blue" |
log |
Axis log scaling, default="xy" |
filename |
Filename of the pdf output file (optional), default = NULL |
... |
Additional arguments used by the standard function plot |
Domingo Vargas
Generic R plot function: plot
data(test.net,package="netmodels") plot.degree(test.net)