fix width calculation - ploot - simple plotting tools HTML git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 8a813a6498a2fea2d4c9cd998b65be4ec5e1de4b DIR parent 26a6e01805dd158f9f97be0cc9bf43f3d5b6db37 HTML Author: Josuah Demangeon <me@josuah.net> Date: Tue, 3 Mar 2020 23:50:01 +0100 fix width calculation Diffstat: M ploot-braille.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/ploot-braille.c b/ploot-braille.c @@ -110,7 +110,7 @@ plot(struct csv *vl, FILE *fp, size_t ncol, int rows, int cols) time_t tmin, tmax, tstep; struct drawille *drw; - cols -= 8; /* scale printed at the right */ + cols -= 9; /* scale printed at the right */ scale_minmax(vl, ncol, &tmin, &tmax, &vmin, &vmax); tstep = scale_tstep(tmin, tmax, cols / 10); @@ -133,7 +133,6 @@ plot(struct csv *vl, FILE *fp, size_t ncol, int rows, int cols) } if (braille_axis_x(fp, tmin, tmax, tstep, cols) == -1) die(1, "printing x axis");; - } static void