Reputation: 1944
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.
Upvotes: 5
Views: 3170
Reputation: 11
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
Upvotes: 0
Reputation: 7292
Set the margin parameter using:
par(mar=c(0,0,0,0)+.1)
See more info on par
here: http://rfunction.com/archives/1302
Upvotes: 9