Skip to contents

Plot a y-axis plot. Can be merged with other plots for a customisable y-axis.

Usage

plot_y_axis(plot_dat, 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 plot that can be used as a y-axis.

Examples

# tbd