Line 1line(x1, y1, x2, y2); Plot C++ 1 2 3 4 5 6 7 8 9 10 11 12 13 14#include <cmath> #include <matplot/matplot.h> int main() { using namespace matplot; plot(iota(1, 10)); line(3, 3, 3, 4); arrow(3, 4, 4, 4); show(); return 0; }