Sorry about that. I got rid of the box another way and then switched to using pars= without making sure it worked. This works:
flies$group <- factor(flies$group, 5:1) # 1 levels(flies$group) <- paste0("Group ", 5:1) # 2 oldpar <- par(bty="n") boxplot(long ~ group, data = flies, pars=list(las=1, ylim=c(10, 110), xaxt="n"), horizontal = TRUE, col = "red") axis(1, at=seq(10, 110, 20)) par(oldpar) ------------------------------------- David ------------------------------------- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77840-4352 ----- Original Message ----- From: "darnold" <dwarnol...@suddenlink.net> To: r-help@r-project.org Sent: Thursday, July 12, 2012 7:53:33 PM Subject: Re: [R] Adjusting format of boxplot Added your code: flies <- read.table("example12_1.dat",header=TRUE,sep="\t") flies$group <- factor(flies$group,5:1) levels(flies$group) <- paste0("Group ",5:1) boxplot(long ~ group, data = flies, pars = list(las=1, ylim=c(10,110), xaxt="n", bty="n"), horizontal = TRUE, col = "red") axis(1,at=seq(10,110,20)) Almost worked perfectly, except the frame around the plot remains, which is strange as you have bty="n". http://r.789695.n4.nabble.com/file/n4636381/Rplot11.png David -- View this message in context: http://r.789695.n4.nabble.com/Adjusting-format-of-boxplot-tp4636373p4636381.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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. ______________________________________________ R-help@r-project.org 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.