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

Method axes_category

source/matplot/axes_objects/vectors.cpp:301–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 }
300
301 enum axes_object::axes_category vectors::axes_category() {
302 if (z_data_.empty()) {
303 if (!polar_) {
304 return axes_object::axes_category::two_dimensional;
305 } else {
306 return axes_object::axes_category::polar;
307 }
308 } else {
309 return axes_object::axes_category::three_dimensional;
310 }
311 }
312
313 class vectors &vectors::line_style(std::string_view str) {
314 line_spec_.parse_string(str);

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected