问题
Maybe, I missed something in the ggplot grammar. The following 3 facets can be plotted without any error. Unfortuantely, the facet plots mixed up colors and shapes. The right hand column should show blue markers only, while the center one should have green markers.
data1
num delay claim supply project
1 -236.347551 3000 DIF site1
2 65.132011 5000 Hoc site2
3 61.401260 5000 Hoc site2
4 96.902894 500 Hoc site2
..
base04 <- ggplot(data1, aes(num, delay, size=claim, color=supply, shape=project))
base04 + geom_point() + facet_grid( . ~ supply )
base04 + geom_point() + facet_grid( project ~ . )
base04 + geom_point() + facet_grid( project ~ supply )

Many thanks for your ideas ..
来源:https://stackoverflow.com/questions/44724108/how-to-use-ggplot2-facet-colors-and-shapes