staxlab {plotrix} | R Documentation |
Places labels on an axis in a regular staggered order
staxlab(side=1,at,labels,nlines=2,top.line=0.5,line.spacing=0.8)
side |
axis on which to place the labels, as in axis |
at |
where to place the labels in user units, as in axis |
labels |
text strings |
nlines |
How many lines to use to stagger the labels. |
top.line |
Distance from the axis to place the first line of text. |
line.spacing |
Spacing between lines of text labels. |
This function is mainly useful when either long axis labels or a large number of labels are to be placed without overlapping. It places the labels regularly spaced and staggered along the axis specified.
nil
Jim Lemon
mtext
plot(1:10,axes=FALSE) box() nums<-c("one","two","three","four","five","six","seven","eight","nine","ten") staxlab(1,1:10,nums)