remove margin between plot and axis
Something like plot(test,type='h',yaxs='i', ylim = c(0, 60)) ? You would need to figure out what the right values for ylim are. John Kane Kingston ON Canada
-----Original Message----- From: inpost at gmail.com Sent: Tue, 29 Jan 2013 14:51:32 +0200 To: kridox at ymail.com Subject: Re: [R] remove margin between plot and axis 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.
____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more!