2017-02-07 7 views
1

Можно ли изменить общий белый цвет фона (а не цвет значения), но белый цвет фона, чтобы сказать черный с пакетом treemap?Treemap Ovreall Цвет фона в R

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, 
) 
+0

Возможно ли это? – user3390310

ответ

0

Я не знаю, если это возможно в TreeMap, но путем преобразования моего TreeMap в ggplot я был в состоянии контролировать много форматирования. Converting treemap to ggplot

Смежные вопросы