A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
color_bar.cpp File Reference

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

std::pair< SvgGradientLinear,
SvgGroup > 
make_svg_color_bar (SvgColorBarSettings const &settings, ColorMap const &map, ColorNormalization const &norm, std::string const &id)
 
std::pair< SvgGradientLinear,
SvgGroup > 
make_svg_color_bar_discrete (SvgColorBarSettings const &settings, std::map< double, Color > const &stops)
 
std::pair< SvgGradientLinear,
SvgGroup > 
make_svg_color_bar_gradient (SvgColorBarSettings const &settings, ColorMap const &map, ColorNormalization const &norm, std::string const &id)
 
void make_svg_color_bar_tickmarks (SvgColorBarSettings const &settings, ColorMap const &map, ColorNormalization const &norm, SvgGroup &group)
 
SvgGroup make_svg_color_list (ColorMap const &map, std::vector< std::string > const &labels)