forked from alandefreitas/matplotplusplus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhandle_types.h
More file actions
93 lines (66 loc) 路 2.65 KB
/
Copy pathhandle_types.h
File metadata and controls
93 lines (66 loc) 路 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
//
// Created by Alan Freitas on 2020-07-06.
//
#ifndef MATPLOTPLUSPLUS_HANDLE_TYPES_H
#define MATPLOTPLUSPLUS_HANDLE_TYPES_H
#include <array>
#include <memory>
namespace matplot {
using color_array = std::array<float, 4>;
class figure_type;
using figure_handle = std::shared_ptr<class figure_type>;
class axes_type;
using axes_handle = std::shared_ptr<class axes_type>;
class axes_object;
using axes_object_handle = std::shared_ptr<class axes_object>;
class legend;
using legend_handle = std::shared_ptr<class legend>;
class string_function;
using string_function_handle = std::shared_ptr<class string_function>;
class line;
using line_handle = std::shared_ptr<class line>;
using scatter_handle = std::shared_ptr<class line>;
class stair;
using stair_handle = std::shared_ptr<class stair>;
class error_bar;
using error_bar_handle = std::shared_ptr<class error_bar>;
class filled_area;
using filled_area_handle = std::shared_ptr<class filled_area>;
class function_line;
using function_line_handle = std::shared_ptr<class function_line>;
class histogram;
using histogram_handle = std::shared_ptr<class histogram>;
class box_chart;
using box_chart_handle = std::shared_ptr<class box_chart>;
class parallel_lines;
using parallel_lines_handle = std::shared_ptr<class parallel_lines>;
class circles;
using circles_handle = std::shared_ptr<class circles>;
class labels;
using labels_handle = std::shared_ptr<class labels>;
class matrix;
using matrix_handle = std::shared_ptr<class matrix>;
class bars;
using bars_handle = std::shared_ptr<class bars>;
class vectors;
using vectors_handle = std::shared_ptr<class vectors>;
class contours;
using contours_handle = std::shared_ptr<class contours>;
class surface;
using surface_handle = std::shared_ptr<class surface>;
class network;
using network_handle = std::shared_ptr<class network>;
/// Bin scatter style
enum class bin_scatter_style {
automatic, // decide automatically depending on the data
point_size, // size proportional to values in the bin
point_alpha, // number of elements in bin represented by colormap where
// alpha varies with density
jitter, // create a number of points in the bin proportional to the bin
// value
point_colormap, // number of elements in bin represented by default
// colormap
heatmap // number of elements in each bin represented by a heatmap
};
} // namespace matplot
#endif // MATPLOTPLUSPLUS_HANDLE_TYPES_H