pymgipsim.Plotting.plotting.plot_bgc

plot_bgc(time, glucose, figsize, figcolor)[source]

Plot the blood glucose concentration (BGC) over time.

Parameters: - formatted_time: np.ndarray

Time array for plotting.

  • formatted_glucose: np.ndarray

    2D array containing blood glucose data for different subjects.

Returns: - fig: matplotlib.figure.Figure

The created matplotlib figure.