[R] multiple x-axis labels on plot
Uwe Ligges
ligges at statistik.uni-dortmund.de
Tue Dec 12 09:00:34 CET 2006
t.d. kaplan wrote:
> hi,
>
> how can i set multiple x-axis labels on a plot? in effect, i want
> to set 2 x-axis labels and values on the tick marks. is it possible
> to have one running on the bottom (as is the default) and another
> running across the top of a plot?
Yes, for plotting axes separately, see ?axis.
For plotting annotation along the margins of the plot, see ?mtext.
Uwe Ligges
> like:
>
> xlab-1
> ---------
> | |
> | |
> ---------
> xlab-0
>
>
> thanks.
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
More information about the R-help
mailing list