Hi, I'd like to change the y-tickmarks of a boxplot. But it doesn't work with yaxp (like I would do it in a plot-function). Can someone help me out?
boxplots: yaxp does not work
2 messages · Jörg Groß, jim holtman
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. I have no idea of what you would like to do with the tick marks. I assume you can always use 'axis' to label your axis: boxplot(len ~ dose, data = ToothGrowth, boxwex = 0.25, at = 1:3 + 0.2, yaxt='n', subset = supp == "OJ", col = "orange") axis(2, at=7:31, labels=rep("",25)) # put tick mark every number axis(2, at=seq(7,31,5)) # put labels on some
On Sun, Jan 11, 2009 at 5:38 PM, J?rg Gro? <joerg at licht-malerei.de> wrote:
Hi, I'd like to change the y-tickmarks of a boxplot. But it doesn't work with yaxp (like I would do it in a plot-function). Can someone help me out?
______________________________________________ R-help at 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.
Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?