r - How to reverse qplot color values -


For qplot below, how can I change the color scale? The default goes from black to color, from 0 to 6, where 0 is black and 6 is a light color. I want it to go from color to black.

  chart: Times opense from & lt; - qplot (log1p (amount), log1p (gift), data = model_data, color = log1p (open), size = log1p (amount), alpha = i (1/2))  

Sorry I do not have any picture but I do not have any site to host the photo.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -