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

Method draw_path

source/matplot/backend/backend_interface.cpp:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 void backend_interface::draw_path(
68 [[maybe_unused]] const std::vector<double> &x,
69 [[maybe_unused]] const std::vector<double> &y,
70 [[maybe_unused]] const std::array<float, 4> &color) {
71 if (!consumes_gnuplot_commands()) {
72 throw std::logic_error(
73 "There is no function to draw_path in this backend yet");
74 } else {
75 throw std::logic_error("This backend has no function draw_path "
76 "because it is based on gnuplot commands");
77 }
78 }
79
80 void backend_interface::draw_markers(
81 [[maybe_unused]] const std::vector<double> &x,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected