add a newline before and after the plot - ploot - simple plotting tools | |
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit f24b386089412df1f2d658ecefd3471f3bddfda3 | |
parent 1da236f9d56f1181e2612354a1b54ff476dbe61c | |
Author: Josuah Demangeon <[email protected]> | |
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(-) | |
--- | |
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'); | |
} | |
/* |