create Subroutine

private pure subroutine create(self, name, zmin, zmax, map, reverse)

You can create a custom colormap from a "map" array.

Type Bound

Colormap

Arguments

Type IntentOptional Attributes Name
class(Colormap), intent(inout) :: self
character(len=*), intent(in) :: name
real(kind=wp), intent(in) :: zmin
real(kind=wp), intent(in) :: zmax
integer, intent(in), dimension(:, :) :: map
logical, intent(in), optional :: reverse

Calls

proc~~create~~CallsGraph proc~create Colormap%create proc~check Colormap%check proc~create->proc~check proc~reverse Colormap%reverse proc~create->proc~reverse proc~get_levels~2 Colormaps_info%get_levels proc~check->proc~get_levels~2 proc~get_name~2 Colormaps_info%get_name proc~check->proc~get_name~2 proc~get_ncolormaps Colormaps_info%get_ncolormaps proc~check->proc~get_ncolormaps proc~set_all Colormaps_info%set_all proc~check->proc~set_all proc~set_info table%set_info proc~set_all->proc~set_info

Called by

proc~~create~~CalledByGraph proc~create Colormap%create proc~extract Colormap%extract proc~extract->proc~create proc~set Colormap%set proc~set->proc~create program~demo demo program~demo->proc~create program~demo->proc~set program~demo_reverse demo_reverse program~demo_reverse->proc~create program~demo_reverse->proc~set program~extract extract program~extract->proc~extract program~extract->proc~set program~modify modify program~modify->proc~set