Skip to contents

Set the x- and y-coordinates for a plot.

Usage

set_plot_coords(
  plot_dat,
  plot_lims = plot_lims,
  plot_settings = plotsettings_lineplot()
)

Arguments

plot_dat

Input is a list prepared by prep_plot().`

plot_lims

List obtained by calc_plot_lims(), containing different coordinate values.

plot_settings

Named list constructed with plotsettings_lineplot(). Defaults to a list with all settings set to 0. There are several predefined lists with optimized settings for different plots. See plotsettings_lineplot() for an overview.

Value

ggplot2 object.

Examples

# tbd