#include #include int main() { using namespace matplot; auto x = linspace(0, 3 * pi, 200); auto y = transform(x, [&](double x) { return cos(x) + rand(0, 1); }); auto c = linspace(1, 10, x.size()); auto l = scatter(x, y, 6, c); l->marker_face(true); show(); return 0; }