fortplot_figure_core_utils Module

Utility operations extracted from fortplot_figure_core

This module contains utility operations like set_ydata and legend to maintain architectural compliance with size limits.



Subroutines

public subroutine core_set_ydata(plots, plot_count, plot_index, y_new)

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(inout), allocatable :: plots(:)
integer, intent(in) :: plot_count
integer, intent(in) :: plot_index
real(kind=wp), intent(in) :: y_new(:)

public subroutine core_figure_legend(state, plots, plot_count, location)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout), allocatable :: plots(:)
integer, intent(in) :: plot_count
character(len=*), intent(in), optional :: location