colormap_value_to_color Subroutine

public subroutine colormap_value_to_color(z_value, z_min, z_max, colormap, color)

Convert data value to RGB color using colormap

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: z_value
real(kind=wp), intent(in) :: z_min
real(kind=wp), intent(in) :: z_max
character(len=*), intent(in) :: colormap
real(kind=wp), intent(out), dimension(3) :: color