[R] Supressing axes 3 and 4 when using plot()
Duncan Murdoch
murdoch.duncan at gmail.com
Thu May 6 11:16:15 CEST 2010
Dan Edgcumbe wrote:
> Is there a way of doing this? I'm using plot() to produce a scatter of
> my data, but it routinely defaults to plotting 2 sets of x axes and 2
> y axes. I'd like to not plot the upper and rightmost axes. I can use
> 'axes=F', and then manually add axes with 'axis', but then the newly
> created axes do not intercept.
>
Use bty="L", e.g.
plot(1, bty="L")
See ?par for other possible values.
Duncan Murdoch
More information about the R-help
mailing list