How to increase the size of points in legend of ggplot2?

后端 未结 1 1004
春和景丽
春和景丽 2020-12-04 09:21

I have thousands of points in one figure and set the \"size = 1\". However the point size in the legend is reduced too. How to increase the point size in the legend?

相关标签:
1条回答
  • 2020-12-04 09:39

    Add a + guides(colour = guide_legend(override.aes = list(size=10))) to the plot. You can play with the size argument.

    0 讨论(0)
提交回复
热议问题