A library for working with phylogenetic and population genetic data.
v0.32.0
helpers.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::map< double, Color > color_stops (ColorMap const &map, ColorNormalization const &norm)
 
std::map< double, Color > color_stops (ColorMap const &map, ColorNormalizationBoundary const &norm)
 
std::map< double, Color > color_stops (ColorMap const &map, ColorNormalizationDiverging const &norm)
 
std::map< double, Color > color_stops (ColorMap const &map, ColorNormalizationLinear const &norm)
 
std::map< double, Color > color_stops (ColorMap const &map, ColorNormalizationLogarithmic const &norm)
 
std::map< double, std::string > color_tickmarks (ColorNormalization const &norm, size_t num_ticks)
 
std::map< double, std::string > color_tickmarks (ColorNormalizationBoundary const &norm, size_t num_ticks)
 
std::map< double, std::string > color_tickmarks (ColorNormalizationDiverging const &norm, size_t num_ticks)
 
std::map< double, std::string > color_tickmarks (ColorNormalizationLinear const &norm, size_t num_ticks)
 
std::map< double, std::string > color_tickmarks (ColorNormalizationLogarithmic const &norm, size_t num_ticks)