R可視化——基于ggplot2包繪圖的模板主題樣式匯總
繪制基本散點(diǎn)圖

ggplot2默認(rèn)主題
1、theme_gray()

2、theme_bw()

3、theme_classic()

4、theme_light()

5、theme_void()

6、theme_linedraw()

7、theme_minimal()

8、theme_dark()


ggthemes拓展主題
1、theme_clean()

2、theme_calc()

3、theme_economist()

4、theme_igray()

5、theme_fivethirtyeight()

6、theme_pander()

7、theme_foundation()

8、theme_base()

9、theme_par()

10、theme_gdocs()

11、theme_map()

12、theme_few()

13、theme_tufte()

14、theme_stata()

15、theme_excel()

16、theme_wsj()

17、theme_hc()

18、theme_solid()

19、theme_solarized()

ggprism包拓展主題
ggprism包繪制GraphPad prism主題樣式圖形:

示例:





BBC風(fēng)格---bbplot
具體細(xì)節(jié)可參見文章:https://www.jianshu.com/p/c1436793ad67

ggthemr包配置主題
使用方式:先通過ggthemr()函數(shù)設(shè)置主題,然后繪制圖形即可:
1、flat

2、flat dark

3、solarized

4、camouflage

5、chalk

6、copper

7、dust

8、earth

9、fresh

10、grape

11、grass

12、greyscale

13、light

14、lilac

15、pale

16、sea

17、sky
自定義主題
通過theme()函數(shù)中不同參數(shù)自定義屬于自己風(fēng)格的主題,具體可參照此文章:https://www.jianshu.com/p/6cc0c17e30ce
