Skip to content

Plotting improvements — autoscale README example and plot utility wrappers #6

@danmcgraw94

Description

@danmcgraw94

Short-term (README fix)

The README's plotting example has hard-coded y-axis limits tuned for JMD. For any other dam, users have to manually edit the code. Switch to autoscaling (e.g., using range() on the data or letting ggplot default) so the example works generically.

Longer-term (code)

Expose convenience wrappers in plotting_utils.R for standard rfaR plots (stage-frequency curve, conceptual realization) with sensible defaults and optional arguments for overrides like y-axis limits. Follows the existing theme_rfar_conceptual() pattern.

Feedback source

Raised by Allen (comments #5, #8).

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestpriority: mediumShould be addressed soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions