calculate_legend_position Subroutine

public subroutine calculate_legend_position(legend, backend, x, y)

Calculate legend position based on backend and position setting

Arguments

Type IntentOptional Attributes Name
type(legend_t), intent(in) :: legend
class(plot_context), intent(in) :: backend
real(kind=wp), intent(out) :: x
real(kind=wp), intent(out) :: y