aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--main_23.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 508c7de..0894ce2 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/main_23.c b/main_23.c
index 8460415..f6936da 100644
--- a/main_23.c
+++ b/main_23.c
@@ -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);