我试图修复这个散点图,所以背景是白色的,并且没有网格......这可能吗?如果这甚至是一个选项,也可以将文本更改为Open Sans。用ggplot2改变R中散点图的背景颜色
data$Aspects <- factor(data$Aspects,
levels = c("Key Support Areas",
"Strategic Support and Relationship Management",
"Sales and Marketing Support",
"Google AW Account Management and Product Support"))
library(ggplot2)
ggplot(data = data, aes(x = X, y = Y, color = Aspects)) +
geom_point(size=3) +
scale_colour_manual(values = c("blue", "red4", "purple4", "olivedrab")) +
geom_text(aes(label = Label),
color = "black", hjust=0.4, vjust=1.5, size = 2.5) +
labs(x = "Impact on Overall Satisfaction", y = "Higher Rating")
图像质量更好的版本可以在这里找到: http://s14.postimg.org/z0z3f3yhd/PSAT_2014_Executive_Summary_Chart_Exclude_AGY.png
这可能是在这里处理:(轻微编辑)[删除网格背景](http://stackoverflow.com/questions/10861773/remove-grid-background-color-and-top-and-right-borders- from-ggplot2) – samhiggins2001
查看此questino字体:http://stackoverflow.com/questions/4094094/modifying-字体在ggplot2 –