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

Function main

examples/line_plot/fimplicit/fimplicit_3.cpp:3–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <matplot/matplot.h>
2
3int main() {
4 using namespace matplot;
5
6 fimplicit([](double x, double y) { return pow(x, 2) + pow(y, 2) - 1; });
7 hold(on);
8 fimplicit([](double x, double y) { return pow(x, 2) + pow(y, 2) - 2; },
9 "--g")
10 ->line_width(2);
11 hold(off);
12
13 show();
14 return 0;
15}

Callers

nothing calls this directly

Calls 4

fimplicitFunction · 0.85
holdFunction · 0.85
showFunction · 0.85
line_widthMethod · 0.45

Tested by

no test coverage detected