TechFeed
  • playlist_add_check Channels

ggplot2で凡例を消す。
DRANK

ggplot2で凡例を消す ## 特定の凡例(colour)を消す1 p + guides(colour=FALSE) ## 特定の凡例(colour)を消す2 p + scale_colour_discrete(guide=FALSE) ## 全ての凡例を消す p + theme(legend.position = 'none') 例 library(ggplot2) p <- ggplot(mtcars, aes(wt, mpg)) + geo...

qiita.com 7 years ago
Related Topics: Data Visualization
arrow_back
open_in_new Open page
https://qiita.com/xargs/items/0890318b4217627d3314
  • Blog
  • Frequently Asked Questions
  • Feedback
  • Terms of service
  • Privacy Policy
  • Posting guidelines
  • Special thanks
  • About Company
© 2025 TechFeed Inc.