colorbar_auto_tick_labels Subroutine

public subroutine colorbar_auto_tick_labels(vmin, vmax, target_ticks, ticks, labels, n)

Automatic colorbar ticks inside [vmin, vmax] and their labels.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: vmin
real(kind=wp), intent(in) :: vmax
integer, intent(in) :: target_ticks
real(kind=wp), intent(out) :: ticks(40)
character(len=50), intent(out) :: labels(40)
integer, intent(out) :: n