create_lagrange Subroutine

private pure subroutine create_lagrange(self, name, zmin, zmax, colors, levels, reverse)

You can create a custom colormap using Lagrange interpolation:

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(:, :) :: colors
integer, intent(in) :: levels
logical, intent(in), optional :: reverse

Calls

proc~~create_lagrange~~CallsGraph proc~create_lagrange Colormap%create_lagrange proc~check Colormap%check proc~create_lagrange->proc~check proc~lagrange lagrange proc~create_lagrange->proc~lagrange proc~reverse Colormap%reverse proc~create_lagrange->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~lagrange_poly lagrange_poly proc~lagrange->proc~lagrange_poly proc~set_info table%set_info proc~set_all->proc~set_info

Called by

proc~~create_lagrange~~CalledByGraph proc~create_lagrange Colormap%create_lagrange program~create create program~create->proc~create_lagrange