[R] help with subscript on axis lables
Andras Farkas
motyocska at yahoo.com
Fri Oct 3 13:15:42 CEST 2014
Dear All,
wonder if you could help with the following:we have:vals <- 1:5names(vals) <- paste0("ke",1:length(vals))mp <- barplot(vals, ylim = c(0, 6),ylab=expression(paste("Hour"^"-10")))
In would like to make the numbers (ke1 to ke5, respectively) in the labels of the x axis a subscript. There is plenty info on making subscripts in the title of the axis (ie: xlab=expression(...)), but was unable to find directions for my problem... Appreciate your help,
Andras
[[alternative HTML version deleted]]
More information about the R-help
mailing list