Skip to contents

These scales control the linewidth and colour of the borders in borderlines. They work in much the same way as ggplot2::scale_colour_continuous(), ggplot2::scale_linewidth_discrete(), etc.

Usage

scale_bordercolour_continuous(..., aesthetics = "bordercolour")

scale_bordercolour_discrete(..., aesthetics = "bordercolour")

scale_borderwidth_continuous(..., aesthetics = "borderwidth")

scale_borderwidth_discrete(..., aesthetics = "borderwidth")

Arguments

...

Passed to the corresponding ggplot2 scales

aesthetics

Character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with. This can be useful, for example, to apply colour settings to the bordercolour and colour aesthetics at the same time, via aesthetics = c("bordercolour", "colour").

Value

A ggproto scale object