fortplot_figure_render_steps Module

Rendering step procedures extracted from fortplot_figure_render_engine for size compliance (refs #1694)



Subroutines

public subroutine render_background_and_grid(state, ascii_bk)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
logical, intent(in) :: ascii_bk

public subroutine render_axes_and_plots(state, plots, plot_count, pie_only)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout) :: plots(:)
integer, intent(in) :: plot_count
logical, intent(in) :: pie_only

public subroutine render_labels_overlay(state, plots, plot_count, pie_only, x_fmt, y_fmt, twinx_fmt, twiny_fmt)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(in) :: plots(:)
integer, intent(in) :: plot_count
logical, intent(in) :: pie_only
character(len=64), intent(in) :: x_fmt
character(len=64), intent(in) :: y_fmt
character(len=64), intent(in) :: twinx_fmt
character(len=64), intent(in) :: twiny_fmt

public subroutine render_decorations(state, plots, plot_count, have_cbar, cbar_pa, vmin, vmax, cmap, saved_pa, pa_supported, annotations, ann_count)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(inout) :: plots(:)
integer, intent(in) :: plot_count
logical, intent(in) :: have_cbar
type(plot_area_t), intent(in) :: cbar_pa
real(kind=wp), intent(in) :: vmin
real(kind=wp), intent(in) :: vmax
character(len=20), intent(in) :: cmap
type(plot_area_t), intent(in) :: saved_pa
logical, intent(in) :: pa_supported
type(text_annotation_t), intent(in), optional :: annotations(:)
integer, intent(in), optional :: ann_count

public subroutine regenerate_pie_legend_for_backend(state, plots, plot_count)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_data_t), intent(in) :: plots(:)
integer, intent(in) :: plot_count

public subroutine apply_aspect_ratio_if_needed(state, has_pie_plots)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
logical, intent(in) :: has_pie_plots

public subroutine render_colorbar_with_state(state, plot_area, vmin, vmax, colormap)

Arguments

Type IntentOptional Attributes Name
type(figure_state_t), intent(inout) :: state
type(plot_area_t), intent(in) :: plot_area
real(kind=wp), intent(in) :: vmin
real(kind=wp), intent(in) :: vmax
character(len=*), intent(in) :: colormap

public subroutine resolve_plot_colorbar_request(plots, plot_count, enabled, plot_idx)

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(in) :: plots(:)
integer, intent(in) :: plot_count
logical, intent(out) :: enabled
integer, intent(out) :: plot_idx