A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sequential_lists.hpp
Go to the documentation of this file.
1 #ifndef GENESIS_UTILS_TOOLS_COLOR_SEQUENTIAL_LISTS_H_
2 #define GENESIS_UTILS_TOOLS_COLOR_SEQUENTIAL_LISTS_H_
3 
4 /*
5  Genesis - A toolkit for working with phylogenetic data.
6  Copyright (C) 2014-2018 Lucas Czech and HITS gGmbH
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>.
20 
21  Contact:
22  Lucas Czech <lucas.czech@h-its.org>
23  Exelixis Lab, Heidelberg Institute for Theoretical Studies
24  Schloss-Wolfsbrunnenweg 35, D-69118 Heidelberg, Germany
25 */
26 
35 
36 #include <string>
37 #include <vector>
38 
39 namespace genesis {
40 namespace utils {
41 
42 // =================================================================================================
43 // Color Lists
44 // =================================================================================================
45 
53 std::vector<Color> const& color_list_bupubk();
54 
62 std::vector<Color> const& color_list_blues();
63 
71 std::vector<Color> const& color_list_bugn();
72 
80 std::vector<Color> const& color_list_bupu();
81 
89 std::vector<Color> const& color_list_gnbu();
90 
98 std::vector<Color> const& color_list_greens();
99 
107 std::vector<Color> const& color_list_greys();
108 
116 std::vector<Color> const& color_list_oranges();
117 
125 std::vector<Color> const& color_list_orrd();
126 
134 std::vector<Color> const& color_list_pubu();
135 
143 std::vector<Color> const& color_list_pubugn();
144 
152 std::vector<Color> const& color_list_purd();
153 
161 std::vector<Color> const& color_list_purples();
162 
170 std::vector<Color> const& color_list_rdpu();
171 
179 std::vector<Color> const& color_list_reds();
180 
188 std::vector<Color> const& color_list_ylgn();
189 
197 std::vector<Color> const& color_list_ylgnbu();
198 
206 std::vector<Color> const& color_list_ylorbr();
207 
215 std::vector<Color> const& color_list_ylorrd();
216 
222 std::vector<Color> const& color_list_magma();
223 
229 std::vector<Color> const& color_list_inferno();
230 
236 std::vector<Color> const& color_list_plasma();
237 
247 std::vector<Color> const& color_list_viridis();
248 
249 // =================================================================================================
250 // Convenience Functions
251 // =================================================================================================
252 
254 {
255  kBupubk,
256  kBlues,
257  kBugn,
258  kBupu,
259  kGnbu,
260  kGreens,
261  kGreys,
262  kOranges,
263  kOrrd,
264  kPubu,
265  kPubugn,
266  kPurd,
267  kPurples,
268  kRdpu,
269  kReds,
270  kYlgn,
271  kYlgnbu,
272  kYlorbr,
273  kYlorrd,
274  kMagma,
275  kInferno,
276  kPlasma,
277  kViridis
278 };
279 
280 std::vector<Color> const& sequential_color_list( SequentialColorList palette );
281 std::vector<Color> const& sequential_color_list( std::string const& palette );
282 
283 std::vector<std::string> sequential_color_list_names();
284 
285 } // namespace utils
286 } // namespace genesis
287 
288 #endif // include guard
std::vector< Color > const & color_list_plasma()
Color palette plasma.
std::vector< Color > const & color_list_bupubk()
Color Palette bupubk.
std::vector< Color > const & color_list_magma()
Color palette magma.
std::vector< Color > const & color_list_greys()
Color palette greys.
std::vector< Color > const & color_list_oranges()
Color palette oranges.
std::vector< Color > const & color_list_ylgnbu()
Color palette ylgnbu.
std::vector< Color > const & color_list_bugn()
Color palette bugn.
std::vector< Color > const & color_list_pubu()
Color palette pubu.
std::vector< Color > const & color_list_viridis()
Color palette viridis.
std::vector< Color > const & color_list_ylorbr()
Color palette ylorbr.
std::vector< Color > const & color_list_purples()
Color palette purples.
Header of Color class.
std::vector< Color > const & color_list_pubugn()
Color palette pubugn.
std::vector< Color > const & color_list_ylgn()
Color palette ylgn.
std::vector< Color > const & color_list_inferno()
Color palette inferno.
std::vector< Color > const & color_list_rdpu()
Color palette rdpu.
std::vector< Color > const & color_list_purd()
Color palette purd.
std::vector< Color > const & color_list_blues()
Color palette blues.
std::vector< Color > const & sequential_color_list(SequentialColorList palette)
std::vector< Color > const & color_list_ylorrd()
Color palette ylorrd.
std::vector< Color > const & color_list_orrd()
Color palette orrd.
std::vector< Color > const & color_list_reds()
Color palette reds.
std::vector< Color > const & color_list_gnbu()
Color palette gnbu.
std::vector< std::string > sequential_color_list_names()
std::vector< Color > const & color_list_bupu()
Color palette bupu.
std::vector< Color > const & color_list_greens()
Color palette greens.