get_colormap_color Subroutine

public subroutine get_colormap_color(value, colormap, color)

Get RGB color from colormap for a normalized value [0,1]

Arguments

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