This is possible in ggplot2, but it's an not appropriate use of a bar
chart - because length is used to convey value, chopping the bottoms
of the bars of will give a misleading impression of the data.
Instead, use a dot plot:
data$Q <- unlist(lapply(data$Q, function(x) paste(strwrap(x, 20),
collap
Matthew,
The ggplot documentation pages (http://had.co.nz/ggplot2) have the following
to say under geom_bar:
"A bar chart maps the height of the bar to a variable, and so the base of
the bar must always been shown to produce a valid visual comparison."
Thus, I suspect what you are trying to do m
2 matches
Mail list logo