[R] remove margin between plot and axis

Ivan Calandra ivan.calandra at u-bourgogne.fr
Tue Jan 29 14:02:54 CET 2013


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.calandra at u-bourgogne.fr
http://biogeosciences.u-bourgogne.fr/calandra

Le 29/01/13 13:51, e-letter a écrit :
> On 29/01/2013, Pascal Oettli <kridox at ymail.com> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list