ggplot(all_data,aes(x=dnn,y=rank)) +
geom_point(aes(color=arg,fill=sim,size=pred),shape=21,stroke=2,alpha=0.5)+
scale_color_gradient(low="red",high="green")+
scale_fill_gradient(low="green",high="red")+facet_grid(~quality)
color代表边框色;fill代表填充色;stroke指定边框的粗细;shape指定图例;scale_color_gradient为连续变量指定颜色的变化范围;facet_grid代表分块。