Procedures

ProcedureLocationProcedure TypeDescription
bezier forcolormap Function

Create colormap from continuous Bezier interpolation of control colors

check forcolormap Subroutine

Check validity of the colormap and fix it if necessary

compute_RGB forcolormap Subroutine

Most of the time you will just give z to obtain RGB values:

create forcolormap Subroutine

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

create_bezier forcolormap Subroutine

You can create a custom colormap using Bezier interpolation:

create_lagrange forcolormap Subroutine

You can create a custom colormap using Lagrange interpolation:

cubehelix_colormap miscellaneous_colormaps Subroutine

This subroutine is based on the public domain FORTRAN 77 subroutine published by D.A. Green: Green, D. A., 2011, Bulletin of the Astronomical Society of India, Vol.39, p.289 For more information on the parameters of cubehelix, see his page: https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/

deallocate_Colormaps_info forcolormap_info Subroutine
deallocate_table forcolormap_info Subroutine
error colormap_class.f90 Subroutine
extract forcolormap Subroutine

Extracts colors from the colormap based on specified number of levels (nl)

factorial forcolormap Function

Factorial function used for Bezier interpolation

finalize forcolormap Subroutine

A finalizer procedure for memory cleanup:

findColumnIntersections forcolormap_info Function

Finds intersections between elements of the first column and other columns in the input array.

fire_colormap miscellaneous_colormaps Subroutine
get_levels forcolormap Function
get_levels forcolormap_info Function
get_name forcolormap Function
get_name forcolormap_info Function
get_ncolormaps forcolormap_info Function
get_RGB forcolormap Subroutine

But you can also obtain RGB by giving directly a level number:

get_zmax forcolormap Function
get_zmin forcolormap Function
inv_rainbow_colormap miscellaneous_colormaps Subroutine
lagrange forcolormap Function

Create colormap from Lagrange interpolation of control colors

lagrange_poly forcolormap Function
load forcolormap Subroutine

Load a .txt colormap with RGB integers separated by spaces on each line. Remark: if no path is indicated in filename, the .txt must be present at the root of the fpm project of the user.

print forcolormap Subroutine

Useful for testing and debugging:

rainbow_colormap miscellaneous_colormaps Subroutine
reverse forcolormap Subroutine

Reverse the colormap

scale_real_int forcolormap Function

Scale the input real array to the integer RGB range [a, b]

scale_real_real forcolormap Function

Normalize the input real array to the range [0, 1]

set forcolormap Subroutine
set_all forcolormap_info Subroutine

Set information for all colormaps.

set_info forcolormap_info Subroutine

Set information about the colormap

shift forcolormap Subroutine

Apply a circular shift to the colormap (left is +, right is -)

write forcolormap_info Subroutine

Filter the array of colormaps based on the given criteria and write information about the filtered colormaps

write_info forcolormap_info Subroutine

Print information about the colormap

write_ppm_colorbar forcolormap Subroutine
zebra_colormap miscellaneous_colormaps Subroutine
call~~graph~~CallGraph proc~bezier bezier proc~factorial factorial proc~bezier->proc~factorial proc~check Colormap%check 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~compute_rgb Colormap%compute_RGB proc~get_rgb Colormap%get_RGB proc~compute_rgb->proc~get_rgb proc~create Colormap%create proc~create->proc~check proc~reverse Colormap%reverse proc~create->proc~reverse proc~create_bezier Colormap%create_bezier proc~create_bezier->proc~bezier proc~create_bezier->proc~check proc~create_bezier->proc~reverse proc~create_lagrange Colormap%create_lagrange proc~create_lagrange->proc~check proc~lagrange lagrange proc~create_lagrange->proc~lagrange proc~create_lagrange->proc~reverse proc~cubehelix_colormap cubehelix_colormap proc~deallocate_colormaps_info Colormaps_info%deallocate_Colormaps_info proc~deallocate_table table%deallocate_table proc~deallocate_colormaps_info->proc~deallocate_table proc~error error proc~extract Colormap%extract proc~extract->proc~create proc~extract->proc~reverse proc~scale_real_int scale_real_int proc~extract->proc~scale_real_int proc~finalize Colormap%finalize proc~findcolumnintersections findColumnIntersections proc~fire_colormap fire_colormap proc~get_levels Colormap%get_levels proc~get_name Colormap%get_name proc~get_zmax Colormap%get_zmax proc~get_zmin Colormap%get_zmin proc~inv_rainbow_colormap inv_rainbow_colormap proc~lagrange_poly lagrange_poly proc~lagrange->proc~lagrange_poly proc~load Colormap%load proc~load->proc~check proc~load->proc~reverse proc~print Colormap%print proc~rainbow_colormap rainbow_colormap proc~scale_real_real scale_real_real proc~scale_real_int->proc~scale_real_real proc~set Colormap%set proc~set->proc~check proc~set->proc~create proc~set->proc~cubehelix_colormap proc~set->proc~fire_colormap proc~set->proc~inv_rainbow_colormap proc~set->proc~rainbow_colormap proc~set->proc~reverse proc~zebra_colormap zebra_colormap proc~set->proc~zebra_colormap proc~set_info table%set_info proc~set_all->proc~set_info proc~shift Colormap%shift proc~write Colormaps_info%write proc~write->proc~findcolumnintersections proc~write->proc~get_ncolormaps proc~write_info table%write_info proc~write->proc~write_info proc~write_ppm_colorbar Colormap%write_ppm_colorbar proc~write_ppm_colorbar->proc~compute_rgb proc~write_ppm_colorbar->proc~get_zmax proc~write_ppm_colorbar->proc~get_zmin export_pnm export_pnm proc~write_ppm_colorbar->export_pnm get_format get_format proc~write_ppm_colorbar->get_format set_format set_format proc~write_ppm_colorbar->set_format set_pnm set_pnm proc~write_ppm_colorbar->set_pnm program~colormaps_list colormaps_list program~colormaps_list->proc~deallocate_colormaps_info program~colormaps_list->proc~set_all program~create create program~create->proc~create_bezier program~create->proc~create_lagrange program~create->proc~write_ppm_colorbar program~demo demo program~demo->proc~create program~demo->proc~get_levels program~demo->proc~get_name program~demo->proc~load program~demo->proc~set program~demo->proc~write_ppm_colorbar test_colormap test_colormap program~demo->test_colormap program~demo_reverse demo_reverse program~demo_reverse->proc~create program~demo_reverse->proc~get_levels program~demo_reverse->proc~get_name program~demo_reverse->proc~load program~demo_reverse->proc~set program~demo_reverse->proc~write_ppm_colorbar program~demo_reverse->test_colormap program~example1 example1 program~example1->proc~load program~example1->proc~write_ppm_colorbar program~example1->export_pnm finalize finalize program~example1->finalize import_pnm import_pnm program~example1->import_pnm program~example1->test_colormap program~extract extract program~extract->proc~extract program~extract->proc~set program~extract->proc~write_ppm_colorbar program~modify modify program~modify->proc~get_levels program~modify->proc~set program~modify->proc~shift program~modify->proc~write_ppm_colorbar program~write_info write_info program~write_info->proc~deallocate_colormaps_info program~write_info->proc~set_all
Help