@@ -17,36 +17,43 @@ namespace matplot {
17
17
class axes_type ;
18
18
class vectors : public axes_object {
19
19
public:
20
+ // / \brief Create empty vectors
20
21
explicit vectors (class axes_type *parent);
21
22
23
+ // / \brief Create 2D vectors with fixed origin and incremental u
22
24
// / Origin xy = (0,0), u = {1,...n}, v = {v_data}
23
25
vectors (class axes_type *parent, const std::vector<double > &v_data,
24
26
std::string_view line_spec = " " );
25
27
28
+ // / \brief Create 2D vectors with fixed origin
26
29
// / Origin xy = (0,0), u = {u_data}, v = {v_data}
27
30
vectors (class axes_type *parent, const std::vector<double > &u_data,
28
31
const std::vector<double > &v_data,
29
32
std::string_view line_spec = " " );
30
33
34
+ // / \brief Create 3D vectors with fixed origin
31
35
// / Origin xy = (0,0,0), u = {u_data}, v = {v_data}, w = {w_data}
32
36
vectors (class axes_type *parent, const std::vector<double > &u_data,
33
37
const std::vector<double > &v_data,
34
38
const std::vector<double > &w_data,
35
39
std::string_view line_spec = " " );
36
40
41
+ // / \brief Create 2D vectors with custom origin
37
42
vectors (class axes_type *parent, const std::vector<double > &x_data,
38
43
const std::vector<double > &y_data,
39
44
const std::vector<double > &u_data,
40
45
const std::vector<double > &v_data,
41
46
std::string_view line_spec = " " );
42
47
48
+ // / \brief Create 2D vectors with custom origin and magnitude colors
43
49
vectors (class axes_type *parent, const std::vector<double > &x_data,
44
50
const std::vector<double > &y_data,
45
51
const std::vector<double > &u_data,
46
52
const std::vector<double > &v_data,
47
53
const std::vector<double > &m_data,
48
54
std::string_view line_spec = " " );
49
55
56
+ // / \brief Create 3D vectors with custom origin
50
57
vectors (class axes_type *parent, const std::vector<double > &x_data,
51
58
const std::vector<double > &y_data,
52
59
const std::vector<double > &z_data,
@@ -55,6 +62,7 @@ namespace matplot {
55
62
const std::vector<double > &w_data,
56
63
std::string_view line_spec = " " );
57
64
65
+ // / \brief Create 3D vectors with custom origin and magnitude colors
58
66
vectors (class axes_type *parent, const std::vector<double > &x_data,
59
67
const std::vector<double > &y_data,
60
68
const std::vector<double > &z_data,
0 commit comments