Class for plot settings.
lineSizeThe line size.
pointSizeThe point size.
mainTitleFontSizeThe main tile font size.
axesTextFontSizeThe text font size.
legendFontSizeThe legend font size.
adjustLegendFontSize(adjustingValue)Adjusts the legend font size, e.g., run
adjustLegendFontSize(-2) # makes the font size 2 points smaller
enlargeAxisTicks(p)Enlarges the axis ticks
expandAxesRange(p, x = NA_real_, y = NA_real_)Expands the axes range
hideGridLines(p)Hides the grid lines
setAxesAppearance(p)Sets the font size and face of the axes titles and texts
setColorPalette(p, palette, mode = c("colour", "fill", "all"))Sets the color palette
setLegendBorder(p)Sets the legend border
setMainTitle(p, mainTitle, subtitle = NA_character_)Sets the main title
setMarginAroundPlot(p, margin = 0.2)Sets the margin around the plot, e.g., run
setMarginAroundPlot(p, .2) or
setMarginAroundPlot(p, c(.1, .2, .1, .2)
setTheme(p)Sets the theme
Collects typical plot settings in an object.