format_tick_value_smart Function

public function format_tick_value_smart(value, max_chars) result(formatted)

Smart tick value formatting with automatic exponential notation for long labels Limits output to max_chars and uses exponential notation when needed

Arguments

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

Return Value character(len=20)