d <- data.frame(x=1:5,y=1:5,c=factor(seq(0.1,0.5,by=0.1)))
library(ggplot2)
ggplot(d,aes(x=x,y=y,shape=c,fill=c))+
geom_point(size=5)+
scale_fill_grey(start=0.1,end=0.9)+
scale_shape_manual(values=21:25)
cheers
Ben Bolker
Looks like a bug. I'll look into it.
Hadley
> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> To post to this group, send email to ggp...@googlegroups.com
> To unsubscribe from this group, send email to
> ggplot2+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ggplot2
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
Yes, it was a bug that prevented any scale created with scale_manual
from correctly merging with legends produced by other scales. It's
fixed in the development version, which I'm hoping to release very
soon.
Regards,
Hadley
cheers
Ben
--
Ben Bolker
Associate professor, Biology Dep't, Univ. of Florida
bol...@ufl.edu / people.biology.ufl.edu/bolker
GPG key: people.biology.ufl.edu/bolker/benbolker-publickey.asc
Hadley