schsv {ggplot} | R Documentation |
Scale continuous variables to hue, saturation and value components of colour.
schsv(plot = .PLOT, name="", to=list())
plot |
|
name |
|
to |
Use multiple mappings with care
Note: alpha mappings only work with the Quartz and PDF devices.
Hadley Wickham <h.wickham@gmail.com>
p <- schsv(ggplot(movies, aes=list(y=rating, x=year))) ggpoint(p, list(h=year)) schsv(ggpoint(p, list(h=year)), list(h.to=c(0.3,0.5))) ggpoint(p, list(s=rating)) ggpoint(p, list(v=rating, h=0.3, s=rating)) ggpoint(p, list(h=rating, v=year))