Graphics Reference
In-Depth Information
Figure 12-3. Mapping to colour with a continuous variable converted to a factor
See Also
You may also want to change the colors that are used in the scale. For continuous data, see
Using
a Manually Deined Palette for a Continuous Variable
. For discrete data, see Recipes and .
Using a Different Palette for a Discrete Variable
Problem
You want to use different colors for a discrete mapped variable.
Solution
Use one of the scales listed in
Table 12-1
.