Skip to content

border/box/frame around plot

2 messages · brbell01, Greg Snow

#
Hello I need to know how to put a closed frame around my plot.  I am plotting
using the igraph package, and I have been able to use box() with limited
success. Box() puts a border around only the upper and right edges of the
plot area, but misses the axes. By default, setting the axes=TRUE in igraph
does not produce closed axes (ie axes that run through the origin and up to
the limits of the plot window).  Any ideas?
#
Run the following command after creating your plot (at the point where you would run box()):
Then look at the help for par, or post the results back here for us to look at and have better information on what you problem may be.