R plot margins way too large when plotting networks in igraph

Viewed 1932

I've searched SO and haven't found a solution that I can get to work. I don't have any replicable data, but I've got the graph below illustrating my issue: my plot is too small. Any ideas on what my issue might be? The picture below has about half of its area as white space.

enter image description here

2 Answers

Just in case that someone has a similar problem, you can change the margins by adding margins in plot: plot(g, layout = layout_nicely(g),... margin=0) See more details here: https://igraph.org/r/doc/plot.common.html

Related