Not exactly I was trying to only numbers for symbols instead of a mix of
letters and numbers just to be consistent. I'm pretty sure someone will nag
me if I use both letters and numbers as symbols
--
View this message in context:
http://r.789695.n4.nabble.com/ggplot2-scale-shape-manual-with-
Something like this?
df <- data.frame(
x = runif(30),
y = runif(30),
z = factor(1:30)
)
ggplot(df, aes(x, y)) +
geom_point(aes(shape = z), size = 5) +
scale_shape_manual(values = c(letters, 0:9))
Hadley
On Thu, Aug 27, 2015 at 4:48 PM, Marian Talbert wrote:
> I'm trying to produce a
2 matches
Mail list logo