Introduction
Introduction Statistics Contact Development Disclaimer Help
fix width calculation - ploot - simple plotting tools
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65…
Log
Files
Refs
Tags
README
LICENSE
---
commit 8a813a6498a2fea2d4c9cd998b65be4ec5e1de4b
parent 26a6e01805dd158f9f97be0cc9bf43f3d5b6db37
Author: Josuah Demangeon <[email protected]>
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(-)
---
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 c…
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 c…
}
if (braille_axis_x(fp, tmin, tmax, tstep, cols) == -1)
die(1, "printing x axis");;
-
}
static void
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.