r - 如何突出显示州内的特定县?
问题描述
如何突出显示州内的特定县?
states <- map_data("state")
south_coast <- subset(counties, region %in% c("texas", "oklahoma", "kansas"))
ggplot(data = south_coast) +
labs(title="Southern Plains of US",subtitle = "Plague positive counties") +
geom_polygon(aes(x = long, y = lat, fill=region, group = group), color = "black") +
coord_fixed(1.2) +
guides(fill=FALSE)+theme_bw()
解决方案
推荐阅读
- amazon-web-services - 如何以非破坏性方式在 terraform 中升级 AWS MQ 次要版本
- javascript - 如何使用 React useState 钩子在同一事件上多次更新状态?
- c# - 为什么垃圾收集器不释放内存
- angular - 使用路由器时角度保持滚动位置
- c# - 如何计算记录总数并在 C# 的单独列中显示?
- javascript - 同时滚动
- firebase - ionic firebase phone authentication SMS 代码已过期。请重新发送验证码重试
- wordpress - 在wordpress中上传图像时无法读取未定义的属性'get'
- java - 无法将字符串反序列化为 Java 对象
- java - 在 Gatling 工具中发出 RecordedSimulation 时出错