determine_sticky_edges Subroutine

public subroutine determine_sticky_edges(plots, plot_count, axis_filter, sticky_x_min, sticky_x_max, sticky_y_min, sticky_y_max)

Flag axis sides where the generic 5% data-range margin must not be applied, matching matplotlib's sticky edges. Bars carry their own margin (with a sticky baseline) in process_bar_plot_ranges; a pcolormesh and contour grids fill their data extent exactly. In each case the data range is authoritative and adding margin would float the artist off the axis (bars) or leave a gap around it (mesh/contour).

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(in) :: plots(:)
integer, intent(in) :: plot_count
integer, intent(in), optional :: axis_filter
logical, intent(out) :: sticky_x_min
logical, intent(out) :: sticky_x_max
logical, intent(out) :: sticky_y_min
logical, intent(out) :: sticky_y_max