add a newline before and after the plot - ploot - simple plotting tools
(HTM) git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit f24b386089412df1f2d658ecefd3471f3bddfda3
(DIR) parent 1da236f9d56f1181e2612354a1b54ff476dbe61c
(HTM) Author: Josuah Demangeon <mail@josuah.net>
Date: Wed, 7 Feb 2018 00:06:50 +0100
add a newline before and after the plot
Diffstat:
M ploot.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/ploot.c b/ploot.c
@@ -143,6 +143,7 @@ plot(int height, double *beg, double *end, char *str)
double top, bot, max;
int h;
+ putchar('\n');
if (str != NULL)
title(str, end - beg);
@@ -155,6 +156,8 @@ plot(int height, double *beg, double *end, char *str)
line(beg, end, top, bot);
}
haxis(beg, end);
+
+ putchar('\n');
}
/*