title: How to customize ggplot2 axis labels with different colors when values are continuous
body: <p>The post <a href="https://stackoverflow.com/questions/38862303/customize-ggplot2-axis-labels-with-different-colors/51794122#51794122">customize ggplot2 axis labels with different colors</a> describes how you can change the colors of each label when each (discrete) value in your data source has got its own corresponding label. But how do you efficiently reference and format each label when you have a larger dataset and each value in that dataset is not represented by its own value (which quickly becomes the case for continuous values)?</p>