ifix width calculation - 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 8a813a6498a2fea2d4c9cd998b65be4ec5e1de4b /scm/ploot/commit/8a813a6498a2fea2d4c9cd998b65be4ec5e1de4b.gph bitreich.org 70 1parent 26a6e01805dd158f9f97be0cc9bf43f3d5b6db37 /scm/ploot/commit/26a6e01805dd158f9f97be0cc9bf43f3d5b6db37.gph bitreich.org 70 hAuthor: Josuah Demangeon URL:mailto:me@josuah.net bitreich.org 70 iDate: Tue, 3 Mar 2020 23:50:01 +0100 Err bitreich.org 70 i Err bitreich.org 70 ifix width calculation Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M ploot-braille.c | 3 +-- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/ploot-braille.c b/ploot-braille.c /scm/ploot/file/ploot-braille.c.gph bitreich.org 70 i@@ -110,7 +110,7 @@ plot(struct csv *vl, FILE *fp, size_t ncol, int rows, int cols) Err bitreich.org 70 i time_t tmin, tmax, tstep; Err bitreich.org 70 i struct drawille *drw; Err bitreich.org 70 i Err bitreich.org 70 i- cols -= 8; /* scale printed at the right */ Err bitreich.org 70 i+ cols -= 9; /* scale printed at the right */ Err bitreich.org 70 i Err bitreich.org 70 i scale_minmax(vl, ncol, &tmin, &tmax, &vmin, &vmax); Err bitreich.org 70 i tstep = scale_tstep(tmin, tmax, cols / 10); Err bitreich.org 70 i@@ -133,7 +133,6 @@ plot(struct csv *vl, FILE *fp, size_t ncol, int rows, int cols) Err bitreich.org 70 i } Err bitreich.org 70 i if (braille_axis_x(fp, tmin, tmax, tstep, cols) == -1) Err bitreich.org 70 i die(1, "printing x axis");; Err bitreich.org 70 i- Err bitreich.org 70 i } Err bitreich.org 70 i Err bitreich.org 70 i static void Err bitreich.org 70 .