0
managerLeftWrong$title = "Profession Subject, Left Map, Inumerate"
managerLeftWrong$legend= "% Evacuated"
managerLeftWrong$ggplot_scale = scale_fill_gradientn(colors = c("white", "dodgerblue4"), limits = c(0,100))
managerLeftWrong$set_zoom_zip(state_zoom=NULL, county_zoom=NULL, zip_zoom = c(coastal, zoneA, zoneB, zoneC), msa_zoom=NULL)
managerLeftWrong$set_num_colors(1)
managerLeftWrong$render()
managerLeftWrong$legend 

当我在控制台中检查 managerLeftWrong$legend 时,控制台返回[1] "% Evacuated"

$title 有效,但由于某种原因,传说没有。有没有人可以解决这个问题?

4

1 回答 1

0

''''managerLeftWrong$ggplot_scale = scale_fill_gradientn(name = "% Evacuated", colors = c("white", "dodgerblue4"), limits = c(0,100))''''

我需要添加这个

于 2020-08-31T18:26:57.587 回答