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

Method axes_category

source/matplot/axes_objects/function_line.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 enum axes_object::axes_category function_line::axes_category() {
69 if (polar_) {
70 return axes_object::axes_category::polar;
71 } else if (!fn_z_) {
72 return axes_object::axes_category::two_dimensional;
73 } else {
74 return axes_object::axes_category::three_dimensional;
75 }
76 }
77
78 const std::function<double(double)> &function_line::fn() const {
79 return fn_x_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected