{
  "abstract": "Readable annotations are essential for interpreting statistical graphics, yet conventional single-color lines and labels can lose visibility when they cross backgrounds with heterogeneous luminance. We introduce a contrast-aware annotation framework implemented in the ggtwotone R package for ggplot2. The framework combines dual-stroke rendering, adaptive text-color selection, and perceptually guided highlight palettes to improve annotation visibility across light and dark regions. A shared contrast-adjustment engine supports WCAG- and APCA-based contrast criteria, reducing the need for manual color adjustment. The package provides contrast-aware geoms for segments, curves, paths, mathematical functions, regression overlays, and text while remaining compatible with standard ggplot2 workflows. A simulation-based evaluation across heterogeneous background colors demonstrates improved worst-case contrast for dual-stroke annotations and adaptive text selection, while also identifying trade-offs in perceptual separation as the number of requested highlight colors increases. Applications to statistical graphics and scientific images illustrate the framework in practical visualization settings. Together, these tools provide a reproducible approach for incorporating contrast considerations directly into graphical annotation.",
  "abstract_shown": true,
  "affiliations": [],
  "article_type": null,
  "arxiv": "2609.30627",
  "author_total": 2,
  "authors": [
    {
      "name": "Beenu Sareena"
    },
    {
      "name": "Heike Hofmann"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/e4cdcya0xwyst.bib",
  "cited_by": 0,
  "doi": "10.48550/arxiv.2609.30627",
  "fulltext_url": null,
  "id": "e4cdcya0xwyst",
  "issns": [],
  "landing_url": "https://arxiv.org/abs/2609.30627",
  "language": null,
  "licence": "LicenseRef-arXiv-nonexclusive-1.0",
  "licence_label": "arXiv licence",
  "licence_source": "article",
  "licence_url": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
  "metadata_licence": "CC0-1.0",
  "native_subjects": [
    [
      "arxiv",
      "stat.CO"
    ],
    [
      "openalex",
      "1707|Data Visualization and Analytics"
    ]
  ],
  "openalex": "W7214684844",
  "pdf_url": "https://arxiv.org/pdf/2609.30627",
  "pmcid": null,
  "pmid": null,
  "published": "2026-09-24",
  "publisher": null,
  "ris": "https://research.draconitic.com/paper/e4cdcya0xwyst.ris",
  "sources": [
    {
      "first_seen": "2026-10-30T12:25:03Z",
      "native_id": "2609.30627",
      "source": "arxiv",
      "url": "https://arxiv.org/abs/2609.30627"
    }
  ],
  "subjects": [
    {
      "field": "mathematics",
      "origin": "arxiv:stat.CO",
      "subfield": "statistics"
    }
  ],
  "title": "Contrast-Aware Annotation for Statistical Graphics: The ggtwotone Package for ggplot2",
  "title_text": "Contrast-Aware Annotation for Statistical Graphics: The ggtwotone Package for ggplot2",
  "type": "preprint",
  "updated_at": "2026-10-30T12:25:03Z",
  "url": "https://research.draconitic.com/paper/e4cdcya0xwyst",
  "venue": "arXiv",
  "versions": []
}