figure_clear Subroutine

public subroutine figure_clear(state, streamlines, subplots_array, subplot_rows, subplot_cols, current_subplot, title_target, xlabel_target, ylabel_target, plot_count, annotation_count)

Clear the figure to prepare for reuse (preserving backend settings)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
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(inout) :: annotation_count