Just be aware the there is no differentiation between the x and y axes when using that approach, which is why I did not mention it.
Changing the default parms for the y axis may not be desirable here. Marc On Tue, 2007-09-25 at 09:25 -0700, Mark Difford wrote: > Also look at the mgp option under ?par. > > This allows one to set the margin line for axis title, axis labels and axis > line... > > Regards, > Mark Difford. > > > > Marc Schwartz wrote: > > > > On Tue, 2007-09-25 at 15:39 +0200, Christian Schäfer wrote: > >> Hi, > >> > >> my x-axis contains labels that consist of two lines (the actual label > >> and below information about groupsize). Unfortunately, there is too > >> little spacing between labels and tickmarks in this situation. Is there > >> a parameter to tune spacing between axis and labels? > >> > >> Thanks, > >> Chris > > > > See ?mtext and take note of the 'line' argument, which allows you to > > specify the margin line upon which to place text labels. The 'at' > > argument is used to define where on the axis the labels should be > > places. > > > > If you are not already, you will want to use either 'axes = FALSE' or > > 'xaxt = "n"' in your plot call, so that the default axis labels are not > > drawn. > > > > HTH, > > > > Marc Schwartz > > ______________________________________________ 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.