Skip to contents

Plot on-source detection statistic as discrete points

Usage

plot_onsource(S.vec, color = "black", shape = 24, binwidth = 0.2)

Arguments

S.vec

A numeric vector of on-source detection statistic (e.g., \(\mathcal{S}\) values).

color

A character string specifying point color (default: "black").

shape

An integer specifying the ggplot2 point shape (default: 24, triangle).

binwidth

A numeric scalar indicating the histogram bin width (default: 0.2).

Value

A ggplot object showing discrete histogram-like point distribution.