![cc51f265fa4e71b00e8e4fc9f10ce2a0.png](https://i-blog.csdnimg.cn/blog_migrate/6b07f7eedfba9f24bcbc7d31c96e4c7f.jpeg)
R语言绘图:面积图和热力图
丁旭辉
2020/2/7
R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
#绘制面积图
##读取数据
library("openxlsx")
jxecons=read.xlsx("E:/jxecons.xlsx",1)
head(jxecons)
## 年份 一产比重 二产比重 三产比重
## 1 2012 11.5 53.9 34.6
## 2 2013 10.7 53.8 35.5
## 3 2014 10.3 52.9 36.8
## 4 2015 10.2 50.7 39.1
## 5 2016 9.8 48.