get_legend_margins Function

public function get_legend_margins(data_width, data_height) result(margins)

Get appropriate margins for legend placement DRY: Centralized margin calculation

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: data_width
real(kind=wp), intent(in) :: data_height

Return Value real(kind=wp), (2)