you can use ascii code with geom_points (internally, pointsGrob).
see ?points and try this:
library(ggplot2)
library(R.oo) # for ascii code lookup
x<-rnorm(20)
y<-rnorm(20)
type <- sample(LETTERS[1:3], size=20, replace=TRUE)
a <- data.frame(x,y,type)
# Plot with just numbered shapes
ggplot(data=a, aes(x=x, y=y)) +
geom_point(aes(shape=type)) +
scale_shape_manual(values=c(1,2,charToInt("W")))
--
Kohske Takahashi <takahash...@gmail.com>
Research Center for Advanced Science and Technology,
The University of Tokyo, Japan.
http://www.fennel.rcast.u-tokyo.ac.jp/profilee_ktakahashi.html
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>