format_tick_value Function

public function format_tick_value(value, range) result(formatted)

Format tick value based on data range like matplotlib

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: value
real(kind=wp), intent(in) :: range

Return Value character(len=20)