【发布时间】:2017-06-25 08:56:27
【问题描述】:
是否可以使用 treemap 包更改整体白色背景颜色(不是值颜色)但将白色背景颜色更改为黑色?
treemap(agg, #Your data frame object
index=c("Course", 'variable'), #A list of your categorical variables
vSize = "value", #This is your quantitative variable
type="value", #Type sets the organization and color scheme of your treemap
vColor='value',
palette = "RdYlGn", #Select your color palette from the RColorBrewer presets or make your own.
#title="Spending in President Obama's 2017 Budget", #Customize your title
fontsize.title = 14, #Change the font size of the title
title = "",
position.legend = 'bottom',
bg.labels = 0,
)
【问题讨论】:
-
有可能吗?