scale_grey

scale_colour_grey(name=NULL, start=0.2, end=0.8, limits=NULL, breaks=NULL, labels=NULL, formatter=identity, ...)
scale_fill_grey(name=NULL, start=0.2, end=0.8, limits=NULL, breaks=NULL, labels=NULL, formatter=identity, ...)

Sequential grey colour scale

Based on ?gray.colors

This page describes scale_grey, see layer and qplot for how to create a complete plot from individual components.

What do you think of the documentation? Please let me know by filling out this short online survey.

Parameters

Parameters control the appearance of the scale. In addition to the parameters listed below (if any), any aesthetic can be used as a parameter, in which case it will override any aesthetic mapping.

Returns

This function returns a scale object.

Examples

> p <- qplot(mpg, wt, data=mtcars, colour=factor(cyl)) 
> p + scale_colour_grey() 
  
> p + scale_colour_grey(end = 0) 
  
>  
> # You may want to turn off the pale grey background with this scale 
> p + scale_colour_grey() + theme_bw 
Error: object of type 'closure' is not subsettable

What do you think of the documentation? Please let me know by filling out this short online survey.