Share the Gallery !Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

Ggplot2 has an amazing feature: it allows to easily map a color to a variable. Here we plot the relationship between 2 variables and we add a third dimension: the color depends of another numeric variable. To adjust the color, there are several options described in the code below.


Not what you are looking for ? Make a new search !

[mediatagger]


Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz