Hi Maria, I think we need some sample data and code to really be ablo to help.
in the meantime have have a look at ?par for general plotting info. --- On Sun, 3/13/11, Lathouri, Maria <m.lathour...@imperial.ac.uk> wrote: > From: Lathouri, Maria <m.lathour...@imperial.ac.uk> > Subject: [R] how to change the margins of a plot area > To: "r-help@r-project.org" <r-help@r-project.org> > Received: Sunday, March 13, 2011, 8:15 AM > Dear all, > > I am ploting two boxplot of two chemical variables using > the format > boxplot(Alkalinity, logAlkalinity, log="y", > col=c("lightblue"), lwd=0.6, boxwex=0.3) > > However when I plot like this, the distance between the two > boxplots is very big and as well the distance of each > boxplot from the plot area, left and right. How can I > minimise that distance between the boxplots and as well the > distance of each boxplot from the left and right margin of > the plot area? > > Another question is that when I write in the above > ylab="Concentration", I get in the y axis as well in each > tick and a number. How can I not have this but only the > text? > > Thank you. > > Kind regards > Maria > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.