calculate_x_label_position Subroutine

public subroutine calculate_x_label_position(tick_x, plot_bottom, plot_height, label_text, label_x, label_y)

Calculate X-axis label position with matplotlib-style centering and spacing

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: tick_x
real(kind=wp), intent(in) :: plot_bottom
real(kind=wp), intent(in) :: plot_height
character(len=*), intent(in) :: label_text
real(kind=wp), intent(out) :: label_x
real(kind=wp), intent(out) :: label_y