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

Method legend_string

source/matplot/axes_objects/surface.cpp:344–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 std::string surface::legend_string(std::string_view title) {
345 return " keyentry " +
346 line_spec_.plot_string(
347 line_spec::style_to_plot::plot_line_only) +
348 " title \"" + escape(title) + "\"";
349 }
350
351 std::string surface::grid_data_string() {
352 std::stringstream ss;

Callers

nothing calls this directly

Calls 2

escapeFunction · 0.85
plot_stringMethod · 0.45

Tested by

no test coverage detected