Displaying 1 result from an estimated 1 matches for "ixyv".
2004 Dec 03
1
How to wrap or split labels on plot
...htcyan","cornsilk","lavender"), each = xmax)
# Adjust the margins
par(mar = c(7, 5, 6, 3))
# Bar graph
mp <- barplot(test, beside = TRUE,
col = MyCols,
axisnames = FALSE,
names.arg = rep(names(test),nvec),
las = 2,
cex.names = 0.75,
ylab = "IXYV",
ylim = c(0,ymax),
yaxt = "n")
# Set up the y axis tick marks and labels
ifelse (ymax<=10,decpt <- 2,decpt <- 0)
ticks <- seq(0, ymax, yinc)
axis(2, at = ticks, las = 1,
labels = formatC(ticks, format = "f", digits = decpt))
# Draw a box around t...