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

Method legend_string

source/matplot/axes_objects/parallel_lines.cpp:124–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 std::string parallel_lines::legend_string(std::string_view title) {
125 return " keyentry " +
126 line_spec_.plot_string(
127 line_spec::style_to_plot::plot_line_only) +
128 " title \"" + escape(title) + "\"";
129 }
130
131 std::string parallel_lines::data_string() {
132 // calculate data for jitter

Callers

nothing calls this directly

Calls 2

escapeFunction · 0.85
plot_stringMethod · 0.45

Tested by

no test coverage detected