Add the annotation layers to a MizerScan plot
add_scan_annotations(
p,
x,
plot_dat,
reference_lines = TRUE,
mark_max = FALSE,
show_unsettled = TRUE
)The ggplot object with the extra layers, still a mizer_plot.
The ggplot object so far.
The MizerScan object.
The data frame being plotted.
TRUE to use the stored reference lines, FALSE for none, or a named numeric vector to use instead.
Whether to mark where each series attains its maximum.
Whether to mark the scan values that did not settle.