內建主題
除了自己打造主題之外,還有幾個現成可用的選項,能為你省下大量時間,請參考這份out-of-the-box solutions。
theme_gray()是預設主題。theme_bw()在需要使用透明度時很實用。theme_classic()比較傳統。theme_void()會移除資料以外的所有元素。
plt_prop_unemployed_over_time 已可使用。
本練習屬於課程
ggplot2 資料視覺化入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Add a black and white theme
plt_prop_unemployed_over_time +
___