#include #include int main() { using namespace matplot; std::vector x = iota(0, 0.1, 10); std::vector y = transform(x, [](auto x) { return exp(x); }); semilogy(x, y); show(); return 0; }