add_scan_annotations: Add the annotation layers to a MizerScan plot

View source: R/MizerScan-class.R

add_scan_annotationsR Documentation

Add the annotation layers to a MizerScan plot

Description

Add the annotation layers to a MizerScan plot

Usage

add_scan_annotations(
  p,
  x,
  plot_dat,
  reference_lines = TRUE,
  mark_max = FALSE,
  show_unsettled = TRUE
)

Arguments

p

The ggplot object so far.

x

The MizerScan object.

plot_dat

The data frame being plotted.

reference_lines

TRUE to use the stored reference lines, FALSE for none, or a named numeric vector to use instead.

mark_max

Whether to mark where each series attains its maximum.

show_unsettled

Whether to mark the scan values that did not settle.

Value

The ggplot object with the extra layers, still a mizer_plot.


mizer documentation built on Aug. 24, 2026, 9:08 a.m.