删除r中的hexbinplot图例

时间:2017-06-11 16:07:31

标签: r legend

请您指导我如何删除hexbinplot的图例?我设置了legend = NULL,但它不起作用。

CODE:

hexbinplot(V1 ~ V2, 
           data = magic,
           xbins = 100,
           legend = NULL,
           type = c("g", "r"),
           ylab = 'V1',
           xlab = 'V2',
           colramp=my_colors)

1 个答案:

答案 0 :(得分:0)

hexbinplot(V1 ~ V2, 
           data = magic,
           xbins = 100,
           colorkey = FALSE,
           type = c("g", "r"),
           ylab = 'V1',
           xlab = 'V2',
           colramp=my_colors)