% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/classes.R
\name{Scale}
\alias{Scale}
\title{Scale: map data values onto a normalized visual range}
\usage{
Scale(aesthetic = character(0), name = NULL, breaks = NULL, labels = NULL)
}
\arguments{
\item{aesthetic}{Which aesthetic this scale governs (\code{"x"} or \code{"y"}).}

\item{name}{Axis title; \code{NULL} means "use the mapped expression's label".}

\item{breaks}{Explicit tick positions, or \code{NULL} for automatic breaks.}

\item{labels}{Explicit tick labels (same length as \code{breaks}), a function
applied to the break values, or \code{NULL} for automatic formatting.}
}
\value{
An S7 object of class \code{Scale}, the base class for scales.
}
\description{
Base class for scales. A scale owns one positional aesthetic, learns its
domain from data ("training"), and maps data values onto [0, 1].
}
