Skip to content

Delegate plotting helpers to RecursiveArrayTools#1305

Open
ChrisRackauckas-Claude wants to merge 1 commit intoSciML:v3from
ChrisRackauckas-Claude:cr/delegate-plotting
Open

Delegate plotting helpers to RecursiveArrayTools#1305
ChrisRackauckas-Claude wants to merge 1 commit intoSciML:v3from
ChrisRackauckas-Claude:cr/delegate-plotting

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

Moves core plotting helpers to RecursiveArrayTools v4 and simplifies the SciMLBase recipe. This is a code simplification, not a breaking change.

Moved to RecursiveArrayTools

interpret_vars, diffeq_to_arrays, solplot_vecs_and_labels, add_labels!, DEFAULT_PLOT_FUNC, plottable_indices, plot_indices, getindepsym_defaultt

SciMLBase recipe simplified

The AbstractTimeseriesSolution recipe becomes a thin wrapper that:

  • Computes solution-specific defaults (denseplot from prob type, plotdensity from tslocation)
  • Separates discrete vs continuous variables
  • Delegates continuous plotting to RAT's diffeq_to_arrays
  • Handles analytic solution overlay via _plot_analytic_series
  • Handles discrete parameter step-plot overlay

Net ~240 lines removed from solution_interface.jl.

Depends on

🤖 Generated with Claude Code

Move core plotting helpers (interpret_vars, diffeq_to_arrays,
solplot_vecs_and_labels, add_labels!, DEFAULT_PLOT_FUNC, plottable_indices,
plot_indices, getindepsym_defaultt) to RecursiveArrayTools. The
AbstractTimeseriesSolution recipe becomes a thin wrapper that computes
solution-specific defaults, delegates continuous plotting to RAT's
helpers, and handles analytic/discrete overlays separately.

Net ~240 lines removed from solution_interface.jl.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants