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.

Reply via email to