Learn R Programming

ggplot2 (version 1.0.0)

ggscale: Components of a scale:

Description

Guide related:

Arguments

Details

  • name
  • breaks
  • labels
  • expand

Mapping related:

  • aesthetic
  • limits
  • palette
  • trans

Scales are an S3 class with a single mutable component implemented with a reference class - the range of the data. This mutability makes working with scales much easier, because it makes it possible to distribute the training, without having to worry about collecting all the pieces back together again.