MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / contours

Method contours

source/matplot/axes_objects/contours.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17namespace matplot {
18 contours::contours(class axes_type *parent, const vector_2d &X,
19 const vector_2d &Y, const vector_2d &Z,
20 std::string_view line_spec)
21 : axes_object(parent), line_spec_(this, line_spec), X_data_(X),
22 Y_data_(Y), Z_data_(Z) {
23 initialize_preprocessed_data();
24 contour_generator_ =
25 QuadContourGenerator(X_data_, Y_data_, Z_data_, _corner_mask,
26 static_cast<long>(nchunk_));
27 }
28
29 contours::contours(class axes_type *parent, const vector_2d &Z,
30 std::string_view line_spec)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected