New to ggplot2 - How do I change the color of some frequency plots so that the colors are distinct and do not get overpowered by the background? I changed the theme to dark because the yellow plot was nearly invisible on white/ gray. [code block in comments]

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Rlanguage

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • esquisse

    RStudio add-in to make plots interactively with ggplot2

    You should post your code so people can specifically see what you are doing, but in general you can do a color option in geom_line. If you don't use ggplot frequently then I'd recommend checking out the esquisse plugin at: https://github.com/dreamRs/esquisse This allows you to use a gui to set your ggplot options.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts