A library for working with phylogenetic and population genetic data.
v0.32.0
color_bar.hpp File Reference
#include "genesis/utils/formats/svg/gradient.hpp"
#include "genesis/utils/formats/svg/group.hpp"
#include <map>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  SvgColorBarSettings
 

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)
 
SvgGroup make_svg_color_list (ColorMap const &map, std::vector< std::string > const &labels)
 
SvgGroup make_svg_color_list (std::vector< Color > const &colors, std::vector< std::string > const &labels)