icentered title - ploot - simple plotting tools Err bitreich.org 70
hgit clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot URL:git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot bitreich.org 70
1Log /scm/ploot/log.gph bitreich.org 70
1Files /scm/ploot/files.gph bitreich.org 70
1Refs /scm/ploot/refs.gph bitreich.org 70
1Tags /scm/ploot/tag bitreich.org 70
1README /scm/ploot/file/README.md.gph bitreich.org 70
1LICENSE /scm/ploot/file/LICENSE.gph bitreich.org 70
i--- Err bitreich.org 70
1commit 5aea0f435467bfbc052e1635ee3106a84f13372e /scm/ploot/commit/5aea0f435467bfbc052e1635ee3106a84f13372e.gph bitreich.org 70
1parent 4845787880204633c4f75d799ee91c24dd354970 /scm/ploot/commit/4845787880204633c4f75d799ee91c24dd354970.gph bitreich.org 70
hAuthor: Josuah Demangeon <mail@josuah.net> URL:mailto:mail@josuah.net bitreich.org 70
iDate: Fri, 2 Feb 2018 23:02:03 +0100 Err bitreich.org 70
i Err bitreich.org 70
icentered title Err bitreich.org 70
i Err bitreich.org 70
iDiffstat: Err bitreich.org 70
i M Makefile | 2 +- Err bitreich.org 70
i A ploot | 0 Err bitreich.org 70
i M ploot.c | 4 ++-- Err bitreich.org 70
i Err bitreich.org 70
i3 files changed, 3 insertions(+), 3 deletions(-) Err bitreich.org 70
i--- Err bitreich.org 70
1diff --git a/Makefile b/Makefile /scm/ploot/file/Makefile.gph bitreich.org 70
i@@ -1,4 +1,4 @@ Err bitreich.org 70
i CFLAGS = -Wall -Wextra -Werror -std=c89 -pedantic Err bitreich.org 70
i Err bitreich.org 70
i all: ploot.o config.h Err bitreich.org 70
i- ${CC} -o ploot ploot.o Err bitreich.org 70
i+ ${CC} -static -o ploot ploot.o Err bitreich.org 70
1diff --git a/ploot b/ploot /scm/ploot/file/ploot.gph bitreich.org 70
iBinary files differ. Err bitreich.org 70
1diff --git a/ploot.c b/ploot.c /scm/ploot/file/ploot.c.gph bitreich.org 70
i@@ -56,7 +56,7 @@ title(char *str, int width) Err bitreich.org 70
i { Err bitreich.org 70
i if (str == NULL) Err bitreich.org 70
i return; Err bitreich.org 70
i- printf("%*s\n\n", (int)(width - strlen(str)) / 2 + MARGIN, str); Err bitreich.org 70
i+ printf("%*s\n\n", (int)(width + strlen(str) + MARGIN) / 2, str); Err bitreich.org 70
i } Err bitreich.org 70
i Err bitreich.org 70
i /* Err bitreich.org 70
i@@ -145,6 +145,6 @@ main() Err bitreich.org 70
i 1000, 1833, 2452, 432, 1456, 435, 1646, 435, 1345, 554, 5245, 3456, Err bitreich.org 70
i 1456, 3498, 834, 834, 804, 234, 544, 3456, 2984, 983, 2583, 2583 }; Err bitreich.org 70
i Err bitreich.org 70
i- plot(30, val, val + LEN(val), "title"); Err bitreich.org 70
i+ plot(30, val, val + LEN(val), "Sample data entered by hand"); Err bitreich.org 70
i return 0; Err bitreich.org 70
i } Err bitreich.org 70
.
Response:
text/plain