colormaps_list Program

Uses

  • program~~colormaps_list~~UsesGraph program~colormaps_list colormaps_list module~forcolormap_info forcolormap_info program~colormaps_list->module~forcolormap_info module~colormap_parameters colormap_parameters module~forcolormap_info->module~colormap_parameters iso_fortran_env iso_fortran_env module~colormap_parameters->iso_fortran_env

Creates the colormaps_list/COLORMAPS_LIST_*.md files using the Colormaps_info class. Write colormap information to a file


Calls

program~~colormaps_list~~CallsGraph program~colormaps_list colormaps_list proc~deallocate_colormaps_info Colormaps_info%deallocate_Colormaps_info program~colormaps_list->proc~deallocate_colormaps_info proc~set_all Colormaps_info%set_all program~colormaps_list->proc~set_all proc~deallocate_table table%deallocate_table proc~deallocate_colormaps_info->proc~deallocate_table proc~set_info table%set_info proc~set_all->proc~set_info

Variables

Type Attributes Name Initial
type(Colormaps_info) :: info

Source Code

program colormaps_list
    use forcolormap_info, only: Colormaps_info
    implicit none

    type(Colormaps_info) :: info

    ! Set all colormap information
    call info%set_all()

    !! Write colormap information to a file
    call info%write(gradient='Sequential', file_name='colormaps_list/COLORMAPS_LIST_SEQ.md', verbose=4)
    call info%write(gradient='Multi-Sequential', file_name='colormaps_list/COLORMAPS_LIST_MSQ.md', verbose=4)
    call info%write(gradient='Diverging', file_name='colormaps_list/COLORMAPS_LIST_DIV.md', verbose=4)
    call info%write(gradient='Categorical', file_name='colormaps_list/COLORMAPS_LIST_CAT.md', verbose=4)
    call info%write(gradient='Cyclic', file_name='colormaps_list/COLORMAPS_LIST_CYC.md', verbose=4)

    ! Deallocate all colormap information
    call info%finalize()

end program colormaps_list