A toolkit for working with phylogenetic data.
v0.24.0
list_sequential.hpp
Go to the documentation of this file.
1 #ifndef GENESIS_UTILS_TOOLS_COLOR_LIST_SEQUENTIAL_H_
2 #define GENESIS_UTILS_TOOLS_COLOR_LIST_SEQUENTIAL_H_
3 
4 /*
5  Genesis - A toolkit for working with phylogenetic data.
6  Copyright (C) 2014-2020 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 
224 std::vector<Color> const& color_list_heat();
225 
231 std::vector<Color> const& color_list_magma();
232 
238 std::vector<Color> const& color_list_inferno();
239 
245 std::vector<Color> const& color_list_plasma();
246 
256 std::vector<Color> const& color_list_viridis();
257 
258 // =================================================================================================
259 // Convenience Functions
260 // =================================================================================================
261 
263 {
264  kBupubk,
265  kBlues,
266  kBugn,
267  kBupu,
268  kGnbu,
269  kGreens,
270  kGreys,
271  kOranges,
272  kOrrd,
273  kPubu,
274  kPubugn,
275  kPurd,
276  kPurples,
277  kRdpu,
278  kReds,
279  kYlgn,
280  kYlgnbu,
281  kYlorbr,
282  kYlorrd,
283  kHeat,
284  kMagma,
285  kInferno,
286  kPlasma,
287  kViridis
288 };
289 
290 std::vector<Color> const& color_list_sequential( ColorListSequential palette );
291 std::vector<Color> const& color_list_sequential( std::string const& palette );
292 
293 std::vector<std::string> color_list_sequential_names();
294 
295 } // namespace utils
296 } // namespace genesis
297 
298 #endif // include guard
std::vector< Color > const & color_list_bugn()
Color palette bugn.
std::vector< Color > const & color_list_purd()
Color palette purd.
std::vector< Color > const & color_list_ylgnbu()
Color palette ylgnbu.
std::vector< Color > const & color_list_orrd()
Color palette orrd.
std::vector< Color > const & color_list_oranges()
Color palette oranges.
std::vector< Color > const & color_list_viridis()
Color palette viridis.
std::vector< Color > const & color_list_bupubk()
Color Palette bupubk.
std::vector< Color > const & color_list_plasma()
Color palette plasma.
std::vector< Color > const & color_list_reds()
Color palette reds.
std::vector< Color > const & color_list_ylorbr()
Color palette ylorbr.
std::vector< Color > const & color_list_ylgn()
Color palette ylgn.
std::vector< Color > const & color_list_sequential(ColorListSequential palette)
std::vector< Color > const & color_list_blues()
Color palette blues.
Container namespace for all symbols of genesis in order to keep them separate when used as a library...
Header of Color class.
std::vector< Color > const & color_list_heat()
Color palette heat.
std::vector< Color > const & color_list_gnbu()
Color palette gnbu.
std::vector< Color > const & color_list_inferno()
Color palette inferno.
std::vector< Color > const & color_list_magma()
Color palette magma.
std::vector< Color > const & color_list_ylorrd()
Color palette ylorrd.
std::vector< Color > const & color_list_greens()
Color palette greens.
std::vector< Color > const & color_list_rdpu()
Color palette rdpu.
std::vector< Color > const & color_list_bupu()
Color palette bupu.
std::vector< Color > const & color_list_pubugn()
Color palette pubugn.
std::vector< std::string > color_list_sequential_names()
std::vector< Color > const & color_list_pubu()
Color palette pubu.
std::vector< Color > const & color_list_purples()
Color palette purples.
std::vector< Color > const & color_list_greys()
Color palette greys.