Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Demonstrates how to obtain information about a colormap using
the Colormaps_info class.
You can print all colormap information using default verbosity (level 1).
You can filter and write colormap information with the
available filters: name, family, gradient, palette, author, license, levels
You can write colormap information to a file with the file_name argument.
Source Code
program write_infouse forcolormap,only:cmap_infoimplicit none! type(Colormaps_info) :: info!! You can print all colormap information using default verbosity (level 1).! verbose: 1 (default) prints a table , 2 prints a box, 3 prints the namecall cmap_info%write()!! You can filter and write colormap information with the!! available filters: name, family, gradient, palette, author, license, levels! Filter by gradient using default verbosity (level 1)call cmap_info%write(gradient='Sequential',palette='Continuous')! Filter by gradient and palette using default verbosity (level 1)call cmap_info%write(gradient='Sequential',palette='Continuous')! Filter by family and palette using verbosity level 2call cmap_info%write(family='vik',gradient='Diverging',palette='Continuous',verbose=2)!! You can write colormap information to a file with the `file_name` argument.call cmap_info%write(gradient='Sequential',file_name='COLORMAPS_LIST.md',verbose=4)call cmap_info%write(gradient='Multi-Sequential',file_name='COLORMAPS_LIST.md',verbose=4,append=.true.)call cmap_info%write(gradient='Diverging',file_name='COLORMAPS_LIST.md',verbose=4,append=.true.)call cmap_info%write(gradient='Categorical',file_name='COLORMAPS_LIST.md',verbose=4,append=.true.)call cmap_info%write(gradient='Cyclic',file_name='COLORMAPS_LIST.md',verbose=4,append=.true.)end program write_info