我試圖修復這個散點圖,所以背景是白色的,並且沒有網格......這可能嗎?如果這甚至是一個選項,也可以將文本更改爲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 –