# plot.igraph

From igraph v0.4.4
by Gabor Csardi

##### Plotting of graphs

`plot.graph`

is able to plot graphs to any R
device. It is the non-interactive companion of the `tkplot`

function.

- Keywords
- graphs

##### Usage

`plot.igraph(x, axes=FALSE, xlab="", ylab="", xlim=c(-1,1), ylim=c(-1,1), ...)`

##### Arguments

- x
- The graph to plot.
- axes
- Logical, whether to plot axes, defaults to FALSE.
- xlab
- The label of the horizontal axis. Defaults to the empty string.
- ylab
- The label of the vertical axis. Defaults to the empty string.
- xlim
- The limits for the horizontal axis, it is unlikely that you want to modify this.
- ylim
- The limits for the vertical axis, it is unlikely that you want to modify this.
- ...
- Additional arguments, passed to
`plot`

.

##### Details

One convenient way to plot graphs is to plot with `tkplot`

first, handtune the placement of the vertices, query the coordinates
by the `tkplot.getcoords`

function and use them with
`plot`

to plot the graph to any R device.

##### Value

- Returns
`NULL`

, invisibly.

##### See Also

`layout`

for different layouts,
`igraph.plotting`

for the detailed description of the
plotting parameters and `tkplot`

and `rglplot`

for other graph plotting functions.

##### Examples

```
g <- graph.ring(10)
plot(g, layout=layout.kamada.kawai, vertex.color="green")
```

*Documentation reproduced from package igraph, version 0.4.4, License: GPL version 2 or later (June, 1991)*

### Community examples

Looks like there are no examples yet.