pymgipsim.Plotting.plotting.plot_all_states¶
- plot_all_states(time, all_states, state_units, state_names, figsize, figcolor)[source]¶
Plot all states over time in subplots.
Parameters: - formatted_time: np.ndarray
Time array for plotting.
- all_states: np.ndarray
4D array containing state data for different days and variables.
- state_names: list
List of state variable names.
- state_units: list
List of units corresponding to state variables.
Returns: - fig: matplotlib.figure.Figure
The created matplotlib figure.