Thanks - I'm guilty of not checking the help files thoroughly enough. My apologies.
Dan ----- Original Message ----- From: "Chuck Cleland" <[EMAIL PROTECTED]> To: "Dan Bebber" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Thursday, November 30, 2006 1:22 PM Subject: Re: [R] tick label rotation in xyplot (lattice) > Dan Bebber wrote: >> Is there any way of rotating tick labels in xyplot? Perhaps some command >> in >> scales? >> My y-values are high (1000s) leading to a lot of white space in the >> plots. > > Yes, the scales section of ?xyplot mentions a rot argument. Here is > an example: > > df <- expand.grid(1:2, 1992:2002) > names(df) <- c("MSA", "YEAR") > df$IDUPREV <- runif(22) > > library(lattice) > > xyplot(IDUPREV ~ YEAR | MSA, data = df, scales=list(x=list(rot=45))) > >> Thanks, >> Dan Bebber >> >> Department of Plant Sciences >> University of Oxford >> >> ______________________________________________ >> [email protected] 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. >> >> > > -- > Chuck Cleland, Ph.D. > NDRI, Inc. > 71 West 23rd Street, 8th floor > New York, NY 10010 > tel: (212) 845-4495 (Tu, Th) > tel: (732) 512-0171 (M, W, F) > fax: (917) 438-0894 > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.409 / Virus Database: 268.15.2/559 - Release Date: 30/11/2006 > > ______________________________________________ [email protected] 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.
