aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-graph.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/trace-graph.c b/trace-graph.c
index be19a95..7797210 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -48,12 +48,14 @@
48#define PLOT_SIZE 10 48#define PLOT_SIZE 10
49#define PLOT_BOX_SIZE PLOT_SIZE 49#define PLOT_BOX_SIZE PLOT_SIZE
50#define PLOT_GIVE 2 50#define PLOT_GIVE 2
51#define PLOT_LINE(plot) (80 * (plot) + 80 + PLOT_SIZE) 51#define PLOT_BEGIN 80
52#define PLOT_SEP 50
53#define PLOT_LINE(plot) (PLOT_SEP * (plot) + PLOT_BEGIN + PLOT_SIZE)
52#define PLOT_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE * 2) 54#define PLOT_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE * 2)
53#define PLOT_BOX_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE) 55#define PLOT_BOX_TOP(plot) (PLOT_LINE(plot) - PLOT_SIZE)
54#define PLOT_BOTTOM(plot) (PLOT_LINE(plot)-1) 56#define PLOT_BOTTOM(plot) (PLOT_LINE(plot)-1)
55#define PLOT_BOX_BOTTOM(plot) (PLOT_LINE(plot)) 57#define PLOT_BOX_BOTTOM(plot) (PLOT_LINE(plot))
56#define PLOT_SPACE(plots) (80 * (plots) + 80) 58#define PLOT_SPACE(plots) (PLOT_SEP * (plots) + PLOT_BEGIN)
57#define PLOT_LABEL(plot) (PLOT_TOP(plot)) 59#define PLOT_LABEL(plot) (PLOT_TOP(plot))
58#define PLOT_X 5 60#define PLOT_X 5
59 61