Base class for scales. A scale owns one positional aesthetic, learns its domain from data ("training"), and maps data values onto [0, 1].
Scale(aesthetic = character(0), name = NULL, breaks = NULL, labels = NULL)Which aesthetic this scale governs ("x" or "y").
Axis title; NULL means "use the mapped expression's label".
Explicit tick positions, or NULL for automatic breaks.
Explicit tick labels (same length as breaks), a function
applied to the break values, or NULL for automatic formatting.
An S7 object of class Scale, the base class for scales.