Re: [R] Changing default plot behaviour

2008-04-09 Thread Thompson, David (MNR)
, 2008 03:16 PM >To: Thompson, David (MNR); r-help@r-project.org >Subject: Re: [R] Changing default plot behaviour > >This may be a bit simple minded but why not change >those commmands into a single function something like >this and run it rather than the actual plot command? &

Re: [R] Changing default plot behaviour

2008-04-09 Thread John Kane
This may be a bit simple minded but why not change those commmands into a single function something like this and run it rather than the actual plot command? myfunction <- function(a) { plot(a, axes=FALSE) axis(1, tcl=0.5) axis(2, tcl=0.5) axis(3, tcl=0.5, labels=FALSE) axis(4, tcl=0.5, labels

Re: [R] Changing default plot behaviour

2008-04-09 Thread hadley wickham
On Wed, Apr 9, 2008 at 10:12 AM, Thompson, David (MNR) <[EMAIL PROTECTED]> wrote: > Hello, > > How would I make the default behaviour of my plots produce output such > as the following (i.e. tick marks inside on all axes, labels only on two > (arbitrary?) sides) without needing the five addition

Re: [R] Changing default plot behaviour

2008-04-09 Thread Richard . Cotton
> How would I make the default behaviour of my plots produce output such > as the following (i.e. tick marks inside on all axes, labels only on two > (arbitrary?) sides) without needing the five additional commands each > time? > > plot(1:10, axes=FALSE) > axis(1, tcl=0.5) > axis(2, tcl=0.5) > axi