Private API
This page lists non-exported (internal) symbols of CTFlowsPlots.
From CTFlowsPlots
_PLOT_LABEL_FONT_SIZE [Constant]
CTFlowsPlots._PLOT_LABEL_FONT_SIZE — Constant
Default font size for axis labels in the CTFlowsPlots extension.
Returns
10: The font size in points.
Notes
- Internal constant used by plotting methods to set consistent label font sizes.
- Applied via the
xguidefontsizeandyguidefontsizekeyword arguments inPlots.plotandPlots.plot!.
See also: _PLOT_TITLE_FONT.
_PLOT_TITLE_FONT [Constant]
CTFlowsPlots._PLOT_TITLE_FONT — Constant
Default font for plot titles in the CTFlowsPlots extension.
Returns
- A Plots font object with size 10 and the default font family.
Notes
- Internal constant used by plotting methods to set consistent title fonts.
- Applied via the
titlefontkeyword argument inPlots.plotandPlots.plot!.
See also: _PLOT_LABEL_FONT_SIZE.
_ham_sol_to_arrays [Function]
CTFlowsPlots._ham_sol_to_arrays — Function
Internal helper to convert a Hamiltonian solution to time, state, and costate arrays.
Arguments
sol::Trajectories.HamiltonianVectorFieldTrajectory: The Hamiltonian solution to convert.
Returns
Tuple{AbstractVector, AbstractMatrix, AbstractMatrix}: A tuple of (time vector, state matrix, costate matrix).
Notes
- Uses
reduce(hcat, ...)'for robust handling of 1D states. - Uses
state(sol)andcostate(sol)to explicitly obtain the state and costate functions. - Internal function, not part of public API.
_sol_to_arrays [Function]
CTFlowsPlots._sol_to_arrays — Function
_sol_to_arrays(
sol::CTFlows.Trajectories.VectorFieldTrajectory
) -> Tuple{Any, Any}
Internal helper to convert a solution to time and state arrays.
Arguments
sol::Trajectories.VectorFieldTrajectory: The solution to convert.
Returns
Tuple{AbstractVector, AbstractMatrix}: A tuple of (time vector, state matrix).
Notes
- Uses
reduce(hcat, ...)'for robust handling of 1D states. - Uses
state(sol)to explicitly obtain the state function. - Internal function, not part of public API.