Set information about the colormap
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(table), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | package | |||
character(len=*), | intent(in) | :: | family | |||
character(len=*), | intent(in) | :: | name | |||
character(len=*), | intent(in) | :: | gradient | |||
character(len=*), | intent(in) | :: | palette | |||
character(len=*), | intent(in) | :: | author | |||
character(len=*), | intent(in) | :: | license | |||
character(len=*), | intent(in) | :: | url | |||
character(len=*), | intent(in) | :: | colorbar | |||
integer, | intent(in) | :: | levels |
pure elemental subroutine set_info(this, package, family, name, gradient, palette, author, license, url, colorbar, levels) class(table), intent(inout) :: this character(*), intent(in) :: package, family, name, gradient, palette, author, license, url, colorbar integer, intent(in) :: levels allocate(this%package, source=trim(package)) allocate(this%family, source=trim(family)) allocate(this%name, source=trim(name)) allocate(this%gradient, source=trim(gradient)) allocate(this%palette, source=trim(palette)) allocate(this%author, source=trim(author)) allocate(this%license, source=trim(license)) allocate(this%url, source=trim(url)) allocate(this%colorbar, source=trim(colorbar)) this%levels = levels end subroutine set_info