figure_initialize Subroutine

public subroutine figure_initialize(state, plots, streamlines, subplots_array, subplot_rows, subplot_cols, current_subplot, title_target, xlabel_target, ylabel_target, plot_count, width, height, backend)

Initialize the figure with specified dimensions and backend

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout), allocatable :: plots(:)
type(plot_data_t), intent(inout), allocatable :: streamlines(:)
type(subplot_data_t), intent(inout), allocatable :: subplots_array(:,:)
integer, intent(inout) :: subplot_rows
integer, intent(inout) :: subplot_cols
integer, intent(inout) :: current_subplot
character(len=:), intent(inout), allocatable :: title_target
character(len=:), intent(inout), allocatable :: xlabel_target
character(len=:), intent(inout), allocatable :: ylabel_target
integer, intent(inout) :: plot_count
integer, intent(in), optional :: width
integer, intent(in), optional :: height
character(len=*), intent(in), optional :: backend