Skip to content
Prev 300405 / 398503 Next

ggplot2 qplot pch not working anymore

Is there a way to use a continuous variable to pch in qplot?  I believe 
this worked in previous version.  I need to specify certain values of a 
shape for particular points so that multiple graphs all show the same 
shapes for the same streams.  I have gone to the original data and added 
a pch column that I would like to use to specify the shapes to pch in 
qplot.  Any help would be greatly appreciated.

#example code
a <- 1:10
b <- 1:10
pch <- 1:10

q <- data.frame(a,b,pch)

qplot(a,b, pch=pch)

Many thanks,