fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
get_colormap_color
Subroutine
23 statements
Source File
fortplot_colormap.f90
fortplot_colormap
get_colormap_color
Contents
public subroutine get_colormap_color(value, colormap, color)
Get RGB color from colormap for a normalized value [0,1]
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=wp),
intent(in)
::
value
character(len=*),
intent(in)
::
colormap
real(kind=wp),
intent(out),
dimension(3)
::
color