当ggplot2中有多个图例时,如何移除额外的图例

3

例如:

require(ggplot2)
require(reshape2)
volcano3d <- melt(volcano) 
names(volcano3d) <- c("x", "y", "z") 
v <- ggplot(volcano3d, aes(x, y, z = z)) 
v1 = v +  stat_contour(aes(colour=..level..,size=..level..)) 

enter image description here

侧边栏上有两个图例,我能删除其中一个吗?

1个回答

7

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接