get_RGB Subroutine

private pure subroutine get_RGB(self, level, red, green, blue)

But you can also obtain RGB by giving directly a level number:

Type Bound

Colormap

Arguments

Type IntentOptional Attributes Name
class(Colormap), intent(inout) :: self
integer, intent(in) :: level
integer, intent(out) :: red
integer, intent(out) :: green
integer, intent(out) :: blue

Called by

proc~~get_rgb~~CalledByGraph proc~get_rgb Colormap%get_RGB proc~compute_rgb Colormap%compute_RGB proc~compute_rgb->proc~get_rgb proc~write_ppm_colorbar Colormap%write_ppm_colorbar proc~write_ppm_colorbar->proc~compute_rgb program~create create program~create->proc~write_ppm_colorbar program~demo demo program~demo->proc~write_ppm_colorbar program~demo_reverse demo_reverse program~demo_reverse->proc~write_ppm_colorbar program~example1 example1 program~example1->proc~write_ppm_colorbar program~extract extract program~extract->proc~write_ppm_colorbar program~modify modify program~modify->proc~write_ppm_colorbar