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

Dan Edgcumbe dr.edgcumbe at gmail.com
Thu May 6 11:32:49 CEST 2010


Fantastic - that's done it. Thank you very much indeed.

BW,

Dan

On 6 May 2010 10:16, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> 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