Re: [R] remove margin between plot and axis

2013-01-29 Thread John Kane
: kri...@ymail.com > Subject: Re: [R] remove margin between plot and axis > > On 29/01/2013, Pascal Oettli wrote: >> Hi, >> >> Please provide a reproducible example. >> > > test<-seq(10:50) > plot(test,type='h',mai=c(0,1,1)) > > Trie

Re: [R] remove margin between plot and axis

2013-01-29 Thread Duncan Murdoch
On 13-01-29 7:51 AM, e-letter wrote: On 29/01/2013, Pascal Oettli wrote: Hi, Please provide a reproducible example. test<-seq(10:50) That's probably not doing what you think it does because you used a colon instead of a comma. plot(test,type='h',mai=c(0,1,1)) The parameter "mai" mat

Re: [R] remove margin between plot and axis

2013-01-29 Thread Ivan Calandra
Not sure wat you're trying to do... Can you explain more what you expect your plot to look like? What about plot(..., frame=FALSE)? Ivan -- Ivan CALANDRA Université de Bourgogne UMR CNRS/uB 6282 Biogéosciences 6 Boulevard Gabriel 21000 Dijon, FRANCE +33(0)3.80.39.63.06 ivan.calan...@u-bourgogne

Re: [R] remove margin between plot and axis

2013-01-29 Thread e-letter
On 29/01/2013, Pascal Oettli wrote: > Hi, > > Please provide a reproducible example. > test<-seq(10:50) plot(test,type='h',mai=c(0,1,1)) Tried plot(test,type='h',yaxs='i') but this has the non-wanted effect of removing white space from between the highest peak and the upper (top) axis ___

Re: [R] remove margin between plot and axis

2013-01-29 Thread Pascal Oettli
Hi, Please provide a reproducible example. Regards, Pascal Le 29/01/2013 19:40, e-letter a écrit : Readers, Am trying to plot a graph with type 'h' and want to remove the white space between the plot lines and the x axis. The help section 'par' suggests that the option 'mai' controls this fea

[R] remove margin between plot and axis

2013-01-29 Thread e-letter
Readers, Am trying to plot a graph with type 'h' and want to remove the white space between the plot lines and the x axis. The help section 'par' suggests that the option 'mai' controls this feature, but the syntax plot(...mai=c(0,1,1)) is ineffective Any advice please? -- r2151 _