fortplot
fortplot Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
parse_color
Subroutine
13 statements
Source File
fortplot_colors.f90
fortplot_colors
parse_color
Contents
public subroutine parse_color(color_str, rgb, success)
Parse matplotlib-compatible color string to RGB values [0,1]
Arguments
Type
Intent
Optional
Attributes
Name
character(len=*),
intent(in)
::
color_str
real(kind=wp),
intent(out)
::
rgb
(3)
logical,
intent(out)
::
success