[R] Supressing axes 3 and 4 when using plot()

Jim Lemon jim at bitwrit.com.au
Thu May 6 14:21:22 CEST 2010


On 05/06/2010 06:54 PM, 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.
>
Hi Dan,
You may find the the fullaxis function in the plotrix package does what 
you want.

Jim



More information about the R-help mailing list