aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-14 15:10:50 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:33 +0100
commit2b6d2d2e17be2341c39f11876d3e87acf0e7c3c1 (patch)
treefe38bf4f3ccef04a908e33740597bc2936e9f2b7
parentc6af54b9a326119ab43a06fd209d2009df64f07e (diff)
Use fewer bins in partiality graph
-rw-r--r--src/scaling-report.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index a86875c9..e1547464 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -159,13 +159,14 @@ static void plot_point(cairo_t *cr, double g_width, double g_height,
}
}
+
static void partiality_graph(cairo_t *cr, const struct image *images, int n,
RefList *full)
{
const double g_width = 200.0;
const double g_height = 200.0;
int i;
- const int nbins = 50;
+ const int nbins = 25;
double totals[nbins];
int counts[nbins];
double prob;