Skip to contents

User-facing landscapeR plots carry their dynamically generated scientific caption as metadata rather than drawing it inside the graphic. This accessor returns that text for use as a true figure caption in Quarto, R Markdown, manuscripts, or other publication systems.

Usage

scientific_caption(plot)

Arguments

plot

a ggplot object returned by a landscapeR plotting function.

Value

A single caption string, or NULL when the ggplot has no landscapeR scientific caption.