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

Method draw_image

source/matplot/backend/backend_interface.cpp:106–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 void backend_interface::draw_image(
107 [[maybe_unused]] const std::vector<std::vector<double>> &x,
108 [[maybe_unused]] const std::vector<std::vector<double>> &y,
109 [[maybe_unused]] const std::vector<std::vector<double>> &z) {
110 if (!consumes_gnuplot_commands()) {
111 throw std::logic_error(
112 "There is no function to draw_image in this backend yet");
113 } else {
114 throw std::logic_error("This backend has no function draw_image "
115 "because it is based on gnuplot commands");
116 }
117 }
118
119 void backend_interface::draw_triangle(
120 [[maybe_unused]] const std::vector<double> &x,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected