diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-09-25 22:47:20 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-09-25 22:47:20 +0300 |
commit | a9bd52226fbcac98bddec9cffcef1ded8b75b5df (patch) | |
tree | b4afc47491122b1ac9da561f539ca1dff81e0699 /main_23.c | |
parent | e4413640cdecd8d07a242059f67b381c21b5df37 (diff) |
added terminal support????
Diffstat (limited to 'main_23.c')
-rw-r--r-- | main_23.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,9 @@ typedef double (*func_t)(double); void pipe_gnuplot(struct dval *table, long len) { FILE* gp = popen("gnuplot", "w"); if (!gp) return; +#ifdef TERMINAL_PLOT + fputs("set terminal block\n", gp); +#endif // TERMINAL_PLOT fputs("plot '-' with lines\n", gp); print_table(gp, table, len); fputs("e\n", gp); |