Description Usage Arguments Details Note Examples
Plot resulting graph using igraph plotting
1 2 3 4 |
x |
GNG object |
vertex.color |
How to color vertexes. Possible values: |
layout |
igraph layout to be used when plotting. Defaults to |
mode |
|
vertex.size |
Size of plotted vertices |
... |
other arguments not used by this method. |
Plot GNG
If you want to "power-use" plotting and plot for instance a subgraph, you might be interested in exporting igraph with convertToIGraph function
1 2 3 4 5 6 7 8 | ## Not run:
gng <- GNG(scaled.wine)
# Plots igraph using first 2 coordinates and colors according to clusters
plot(gng, mode=gng.plot.2d.errors, layout=gng.plot.layout.v2d, vertex.color=gng.plot.color.cluster)
# For more possibilities see gng.plot.* constants
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.