[R] font size in the trellis plot
Uwe Ligges
ligges at statistik.uni-dortmund.de
Wed Jun 1 08:38:14 CEST 2005
ronggui wrote:
>>library(lattice)
>>dotplot(variety ~ yield | site, data = barley, groups = year,
>
> key = simpleKey(levels(barley$year), space = "right"),
> xlab = "Barley Yield (bushels/acre) ",
> aspect=0.5, layout = c(1,6), ylab=NULL)
>
> and i get the plot whose font overlaps .what parematers should i change.(i do not want to change the size of the plot).
Please read ?dotplot. It's huge, but also very informative and suggests
to specify the argument scales=list(cex=...) as in:
library(lattice)
dotplot(variety ~ yield | site, data = barley, groups = year,
key = simpleKey(levels(barley$year), space = "right"),
xlab = "Barley Yield (bushels/acre) ",
aspect=0.5, layout = c(1,6), ylab=NULL, scales=list(cex=0.5))
Uwe Ligges
> ______________________________________________
> 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
More information about the R-help
mailing list