diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-09-25 22:44:50 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-09-25 22:44:50 +0300 |
commit | e4413640cdecd8d07a242059f67b381c21b5df37 (patch) | |
tree | 445c01b9f200a1fa8baf1ba0158a4e640d09d54a | |
parent | 5e92ffa2eb629400b0edd43e6e2df9bd197aaeb6 (diff) |
Revert "added terminal plot support"
This reverts commit 5e92ffa2eb629400b0edd43e6e2df9bd197aaeb6.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | main_23.c | 3 |
2 files changed, 0 insertions, 6 deletions
@@ -8,9 +8,6 @@ ifneq ($(OS),Windows_NT) T2LINKS = -lm -ldl ifneq (, $(shell which gnuplot)) T2FLAGS += -DPIPE_GNUPLOT - ifeq (, ${DISPLAY}) - T2FLAGS += -DTERMINAL_PLOT - endif endif endif @@ -16,9 +16,6 @@ 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); |