Initialize a ggplot object and set its labels, grid, background and watermark
Arguments
- plotConfiguration
An optional
PlotConfigurationobject defining labels, grid, background and watermark
References
For examples, see: https://www.open-systems-pharmacology.org/TLF-Library/articles/atom-plots.html
See also
Other atom plots:
addErrorbar(),
addLine(),
addRibbon(),
addScatter()
Examples
# Initialize an empty plot
p <- initializePlot()
# Implement a customized configuration using PlotConfiguration
config <- PlotConfiguration$new(title = "My Plot", xlabel = "x variable", ylabel = "y variable")
p <- initializePlot(config)