fortplot_figure_legend_setup Module

Figure legend setup module Extracted from fortplot_figure_plot_management for size compliance (refs #1694)



Functions

public pure function get_pie_slice_marker_for_index(slice_index) result(marker)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: slice_index

Return Value character(len=1)


Subroutines

public subroutine setup_figure_legend(legend_data, show_legend, plots, plot_count, location, backend_name)

Arguments

Type IntentOptional Attributes Name
type(legend_t), intent(inout) :: legend_data
logical, intent(inout) :: show_legend
type(plot_data_t), intent(in) :: plots(:)
integer, intent(in) :: plot_count
character(len=*), intent(in), optional :: location
character(len=*), intent(in), optional :: backend_name

public subroutine add_pie_legend_entries(legend_data, plot, backend_name)

Arguments

Type IntentOptional Attributes Name
type(legend_t), intent(inout) :: legend_data
type(plot_data_t), intent(in) :: plot
character(len=*), intent(in), optional :: backend_name