Skip to contents

Set the visibility of the legend caption labels

Usage

setCaptionVisibility(plotObject, visibility, name = NULL)

Arguments

plotObject

ggplot graphical object

visibility

logical visibility of the legend caption labels

name

reference names in caption$name identifying the legend caption lines

Value

A ggplot graphical object