我有以下情节:
我通过执行以下命令获得:
ggplot() +
stat_summary( data = cellBlocksUtilizationUl_lteOnly, aes(x=roundedRealNumVehicles/2, y=(value), colour=as.factor(1), lty=as.factor(1) ) , fun.y=mean, geom="line", size=1 ) +
stat_summary( data = cellBlocksUtilizationUl_lteOnly, aes(x=roundedRealNumVehicles/2, y=(value), colour=as.factor(1) ) , fun.y=mean, geom="point", pch=21, fill="white", size=2 ) +
stat_summary( data = cellBlocksUtilizationUl_clust, aes(x=roundedRealNumVehicles/2, y=(value), colour=as.factor(2), size=as.factor(clusteringDistance), lty=as.factor(2) ) , fun.y=mean, geom="line" ) +
stat_summary( data = cellBlocksUtilizationUl_clust, aes(x=roundedRealNumVehicles/2, y=(value), colour=as.factor(2), size=as.factor(clusteringDistance) ) , fun.y=mean, geom="point", pch=21, fill="white" ) +
scale_linetype_manual(values = c(2,1) ) +
theme_bw(base_size = 14, base_family = "Palatino") +
theme(legend.key = element_blank())
请注意,数据来自两个不同的数据框。
如何让整个地块上的圆点大小相同?
这是否可以在不改变数据的情况下实现?